no-case

Transform any case string into a lower case string with a space between each word

Use `change-case`
Last updated 3 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install no-case 
SYNC missed versions from official npm registry.

No Case

Transform any case string into a lower case string with a space between each word. Example: foo_bar => fooBar

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"

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.

License

MIT

Current Tags

  • 4.0.0                                ...           latest (3 years ago)

12 Versions

  • 4.0.0 [deprecated]           ...           3 years ago
  • 3.0.4                                ...           5 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.3.2                                ...           9 years ago
  • 2.3.1                                ...           9 years ago
  • 2.3.0                                ...           10 years ago
  • 2.2.0                                ...           10 years ago
  • 2.1.0                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |