@naturalcycles/js-lib
Version:
Standard library for universal (browser + Node.js) javascript
20 lines (19 loc) • 366 B
TypeScript
export interface SlugifyOptions {
/**
* Default: `-`
*/
separator?: string;
/**
* Default: true
*/
lowercase?: boolean;
/**
* Default: true
*/
decamelize?: boolean;
/**
* Default: []
*/
preserveCharacters?: string[];
}
export declare function _slugify(s: string, opt?: SlugifyOptions): string;