UNPKG

path-case

Version:

Transform into a lower case string with slashes between words

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