change-case
Convert a string between camelCase, PascalCase, Title Case, snake_case, etc.
Last updated 6 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install change-case 
SYNC missed versions from official npm registry.

Change Case

NPM version NPM downloads Bundle size

Transform a string between camelCase, PascalCase, Capital Case, snake_case, param-case, CONSTANT_CASE and others.

Installation

npm install change-case --save

Usage

import {
  camelCase,
  capitalCase,
  constantCase,
  dotCase,
  headerCase,
  noCase,
  paramCase,
  pascalCase,
  pathCase,
  sentenceCase,
  snakeCase
} from "change-case";

Methods can also be installed independently. All functions also accept options as the second argument.

License

MIT

Current Tags

  • 4.1.1                                ...           latest (4 months ago)

31 Versions

  • 4.1.1                                ...           4 months ago
  • 4.1.0                                ...           4 months ago
  • 4.0.1                                ...           4 months ago
  • 4.0.0                                ...           4 months ago
  • 3.1.0                                ...           a year ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           3 years ago
  • 3.0.0                                ...           4 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           5 years ago
  • 2.2.0                                ...           5 years ago
  • 2.1.6                                ...           5 years ago
  • 2.1.5                                ...           6 years ago
  • 2.1.4                                ...           6 years ago
  • 2.1.3                                ...           6 years ago
  • 2.1.2                                ...           6 years ago
  • 2.1.1                                ...           6 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 262
This Week 32,031
This Month 18,736
Last Day 5,805
Last Week 39,557
Last Month 162,105
Dependencies (12)
Dev Dependencies (2)
Dependents (1490)

Copyright 2014 - 2016 © taobao.org |