UNPKG

snake-case

Version:

Transform into a lower case string with underscores between words

4 lines (3 loc) 137 B
import { Options } from "no-case"; export type { Options }; export declare function snakeCase(input: string, options?: Options): string;