mirror of https://github.com/jkjoy/sunpeiwen.git
1005 B
1005 B
No Case
Transform into a lower cased string with spaces between words.
Installation
npm install no-case --save
Usage
import { noCase } from "no-case";
noCase("string"); //=> "string"
noCase("dot.case"); //=> "dot case"
noCase("PascalCase"); //=> "pascal case"
noCase("version 1.2.10"); //=> "version 1 2 10"
The function also accepts options
.
License
MIT