.. | ||
dist | ||
dist.es2015 | ||
LICENSE | ||
package.json | ||
README.md |
Change Case
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