保誠-保戶業務員媒合平台
編輯 | 究查 | 歷程 | 原始

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