securityos/node_modules/no-case/dist.es2015/index.d.ts

11 lines
361 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
export interface Options {
splitRegexp?: RegExp | RegExp[];
stripRegexp?: RegExp | RegExp[];
delimiter?: string;
transform?: (part: string, index: number, parts: string[]) => string;
}
/**
* Normalize the string into something other libraries can manipulate easier.
*/
export declare function noCase(input: string, options?: Options): string;