Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.14 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.14 KB

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