4.0.0 • Published 1 year ago

path-case v4.0.0

Weekly downloads
2,069,406
License
MIT
Repository
github
Last release
1 year ago

Path Case

Transform into a lower case string with slashes between words.

Installation

npm install path-case --save

Usage

import { pathCase } from "path-case";

pathCase("string"); //=> "string"
pathCase("dot.case"); //=> "dot/case"
pathCase("PascalCase"); //=> "pascal/case"
pathCase("version 1.2.10"); //=> "version/1/2/10"

The function also accepts options.

License

MIT