Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 968 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 968 Bytes

No Case

NPM version NPM downloads Bundle size

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