JSPM

  • Created
  • Published
  • Downloads 11185265
  • Score
    100M100P100Q210850F
  • License MIT

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

Package Exports

  • change-case
  • change-case/dist.es2015
  • change-case/dist.es2015/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (change-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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