mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
11 lines
361 B
TypeScript
11 lines
361 B
TypeScript
|
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;
|