change-case
Convert a string between camelCase, PascalCase, Title Case, snake_case and more.
Last updated 10 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm
$ 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.2                                ...           latest (5 years ago)

4 Versions

  • 4.1.2                                ...           5 years ago
  • 4.1.1                                ...           6 years ago
  • 3.1.0                                ...           7 years ago
  • 2.3.1                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (16)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org