The lodash method kebabCase exported as a standalone Node.js module for converting strings to kebab-case format
Overall
score
68%
Evaluation — 68%
↑ 1.08xAgent success when using this tile
Create a configurable utility sandbox that extends the dependency without leaking changes to the default import or other sandboxes.
@generates
export interface UtilityEnvOptions {
helpers?: Record<string, (...args: any[]) => any>;
templateDelimiters?: {
interpolate?: RegExp | string;
escape?: RegExp | string;
evaluate?: RegExp | string;
};
globalName?: string;
}
export interface UtilityEnvironment {
utils: any;
restoreGlobal?: () => void;
}
/**
* Builds an isolated utility environment using the dependency's extensibility features.
* - `helpers` defines custom helpers to add to the sandbox.
* - `templateDelimiters` customizes template compilation within this sandbox only.
* - `globalName`, when provided, binds the sandbox utilities to that global name and
* returns a `restoreGlobal` function that puts the previous global value back.
*/
export function createUtilityEnvironment(options?: UtilityEnvOptions): UtilityEnvironment;Provides sandboxing, extensibility hooks, and template configuration.
Install with Tessl CLI
npx tessl i tessl/npm-lodash-kebabcasedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10