You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
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