UNPKG

text-no-case

Version:

Convert text to all lowercase letters with spaces between words

11 lines (10 loc) 355 B
export interface Options { splitRegexp?: RegExp | RegExp[]; stripRegexp?: RegExp | RegExp[]; delimiter?: string; transform?: (part: string, index: number, parts: string[]) => string; } /** * Normalize text into something other libraries can manipulate easier. */ export declare function noCase(input: string, options?: Options): string;