UNPKG

text-sentence-case

Version:

Convert into a lower case with spaces between words, then capitalize text

5 lines (4 loc) 225 B
import { Options } from "text-no-case"; export { Options }; export declare function sentenceCaseTransform(input: string, index: number): string; export declare function sentenceCase(input: string, options?: Options): string;