UNPKG

dot-case

Version:

Transform into a lower case string with a period between words

6 lines 218 B
import { split, toLower } from "no-case"; export function dotCase(input, options) { const lower = toLower(options?.locale); return split(input, options).map(lower).join("."); } //# sourceMappingURL=index.js.map