package
Transform any case string into a lower case string with a space between each word
npm install no-caseGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
8.0 kB
Includes dependencies.
Transform any case string into a lower case string with a space between each word. Example:
foo_bar=>fooBar
npm install no-case --saveimport { 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"Optional options as the second argument:
separateNumbers: boolean - Splits numbers apart from letters, e.g. V1 -> v 1.locale: string | false - Lower case according to a specific locale, defaulting to the current system locale.MIT