index.d.ts 361 B

12345678910
  1. export interface Options {
  2. splitRegexp?: RegExp | RegExp[];
  3. stripRegexp?: RegExp | RegExp[];
  4. delimiter?: string;
  5. transform?: (part: string, index: number, parts: string[]) => string;
  6. }
  7. /**
  8. * Normalize the string into something other libraries can manipulate easier.
  9. */
  10. export declare function noCase(input: string, options?: Options): string;