UNPKG

sentence-case

Version:

Transform into a lower case with spaces between words, then capitalize the string

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