Transform into a lower case string with slashes between words
$ npm install path-case
Transform into a lower case string with slashes between words.
npm install path-case --save
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
.
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE