no-case
Advanced tools
Weekly downloads
Readme
Transform any case string into a lower case string with a space between each word. Example:
foo_bar
=>fooBar
npm install no-case --save
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"
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
FAQs
Transform any case string into a lower case string with a space between each word
The npm package no-case receives a total of 17,899,650 weekly downloads. As such, no-case popularity was classified as popular.
We found that no-case demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.