{ "_args": [ [ { "raw": "change-case@^2.3.0", "scope": null, "escapedName": "change-case", "name": "change-case", "rawSpec": "^2.3.0", "spec": ">=2.3.0 <3.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/rest-facade" ] ], "_from": "change-case@>=2.3.0 <3.0.0", "_id": "change-case@2.3.1", "_inCache": true, "_location": "/change-case", "_nodeVersion": "5.2.0", "_npmUser": { "name": "blakeembrey", "email": "hello@blakeembrey.com" }, "_npmVersion": "3.3.12", "_phantomChildren": {}, "_requested": { "raw": "change-case@^2.3.0", "scope": null, "escapedName": "change-case", "name": "change-case", "rawSpec": "^2.3.0", "spec": ">=2.3.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/rest-facade" ], "_resolved": "https://registry.npmjs.org/change-case/-/change-case-2.3.1.tgz", "_shasum": "2c4fde3f063bb41d00cd68e0d5a09db61cbe894f", "_shrinkwrap": null, "_spec": "change-case@^2.3.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/rest-facade", "author": { "name": "Blake Embrey", "email": "hello@blakeembrey.com", "url": "http://blakeembrey.me" }, "bugs": { "url": "https://github.com/blakeembrey/change-case/issues" }, "dependencies": { "camel-case": "^1.1.1", "constant-case": "^1.1.0", "dot-case": "^1.1.0", "is-lower-case": "^1.1.0", "is-upper-case": "^1.1.0", "lower-case": "^1.1.1", "lower-case-first": "^1.0.0", "param-case": "^1.1.0", "pascal-case": "^1.1.0", "path-case": "^1.1.0", "sentence-case": "^1.1.1", "snake-case": "^1.1.0", "swap-case": "^1.1.0", "title-case": "^1.1.0", "upper-case": "^1.1.1", "upper-case-first": "^1.1.0" }, "description": "Convert a string between camelCase, PascalCase, Title Case, snake_case and more.", "devDependencies": { "istanbul": "^0.3.0", "mocha": "^2.2.1", "pre-commit": "^1.0.6", "standard": "^3.3.0" }, "directories": {}, "dist": { "shasum": "2c4fde3f063bb41d00cd68e0d5a09db61cbe894f", "tarball": "https://registry.npmjs.org/change-case/-/change-case-2.3.1.tgz" }, "files": [ "change-case.js", "change-case.d.ts", "LICENSE" ], "gitHead": "16309a3fe2e170bde1f354f9cc52406ccb218bf9", "homepage": "https://github.com/blakeembrey/change-case#readme", "keywords": [ "camel", "pascal", "title", "case", "lower", "upper", "param", "dot", "path", "constant", "cases", "check" ], "license": "MIT", "main": "change-case.js", "maintainers": [ { "name": "blakeembrey", "email": "me@blakeembrey.com" } ], "name": "change-case", "optionalDependencies": {}, "readme": "# Change Case\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\nConvert strings between `camelCase`, `PascalCase`, `Title Case`, `snake_case`, `lowercase`, `UPPERCASE`, `CONSTANT_CASE` and more.\n\nAll methods support Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.\n\n**Every method is also available on npm as an individual package.**\n\n## Installation\n\n```\nnpm install change-case --save\n```\n\n## Usage\n\n```js\nvar changeCase = require('change-case')\n//=> { isUpperCase: [Function], camelCase: [Function], ... }\n```\n\n**Available methods** (short-hand shown below, long-hand available in examples):\n\n* `isUpper`\n* `isLower`\n* `upper`\n* `ucFirst`\n* `lcFirst`\n* `lower`\n* `sentence`\n* `title`\n* `camel`\n* `pascal`\n* `snake`\n* `param`\n* `dot`\n* `path`\n* `constant`\n* `swap`\n\nAll methods accept two arguments, the string to change case and an optional locale.\n\n### [isUpperCase](https://github.com/blakeembrey/is-upper-case)\n\n[![NPM version](https://img.shields.io/npm/v/is-upper-case.svg?style=flat)](https://npmjs.org/package/is-upper-case)\n[![NPM downloads](https://img.shields.io/npm/dm/is-upper-case.svg?style=flat)](https://npmjs.org/package/is-upper-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/is-upper-case.svg?style=flat)](https://travis-ci.org/blakeembrey/is-upper-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/is-upper-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-upper-case?branch=master)\n\nReturn a boolean indicating whether the string is upper cased.\n\n```js\nchangeCase.isUpperCase('test string')\n//=> false\n```\n\n### [isLowerCase](https://github.com/blakeembrey/is-lower-case)\n\n[![NPM version](https://img.shields.io/npm/v/is-lower-case.svg?style=flat)](https://npmjs.org/package/is-lower-case)\n[![NPM downloads](https://img.shields.io/npm/dm/is-lower-case.svg?style=flat)](https://npmjs.org/package/is-lower-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/is-lower-case.svg?style=flat)](https://travis-ci.org/blakeembrey/is-lower-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/is-lower-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-lower-case?branch=master)\n\nReturn a boolean indicating whether the string is lower cased.\n\n```js\nchangeCase.isLowerCase('test string')\n//=> true\n```\n\n### [upperCase](https://github.com/blakeembrey/upper-case)\n\n[![NPM version](https://img.shields.io/npm/v/upper-case.svg?style=flat)](https://npmjs.org/package/upper-case)\n[![NPM downloads](https://img.shields.io/npm/dm/upper-case.svg?style=flat)](https://npmjs.org/package/upper-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/upper-case.svg?style=flat)](https://travci.org/blakeembrey/upper-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/upper-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-upper-case?branch=master)\n\nReturn the string in upper case.\n\n```js\nchangeCase.upperCase('test string')\n//=> \"TEST STRING\"\n```\n\n### [upperCaseFirst](https://github.com/blakeembrey/upper-case-first)\n\n[![NPM version](https://img.shields.io/npm/v/upper-case-first.svg?style=flat)](https://npmjs.org/package/upper-case-first)\n[![NPM downloads](https://img.shields.io/npm/dm/upper-case-first.svg?style=flat)](https://npmjs.org/package/upper-case-first)\n[![Build status](https://img.shields.io/travis/blakeembrey/upper-case-first.svg?style=flat)](https://travis-ci.org/blakeembrey/upper-case-first)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/upper-case-first.svg?style=flat)](https://coveralls.io/r/blakeembrey/is-upper-case?branch=master)\n\nReturn the string with the first character upper cased.\n\n```js\nchangeCase.upperCaseFirst('test')\n//=> \"Test\"\n```\n\n### [lowerCaseFirst](https://github.com/blakeembrey/lower-case-first)\n\n[![NPM version](https://img.shields.io/npm/v/lower-case-first.svg?style=flat)](https://npmjs.org/package/lower-case-first)\n[![NPM downloads](https://img.shields.io/npm/dm/lower-case-first.svg?style=flat)](https://npmjs.org/package/lower-case-first)\n[![Build status](https://img.shields.io/travis/blakeembrey/lower-case-first.svg?style=flat)](https://travis-ci.org/blakeembrey/lower-case-first)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/lower-case-first.svg?style=flat)](https://coveralls.io/r/blakeembrey/lower-case-first?branch=master)\n\nReturn the string with the first character lower cased.\n\n```js\nchangeCase.lowerCaseFirst('TEST')\n//=> \"tEST\"\n```\n\n### [lowerCase](https://github.com/blakeembrey/lower-case)\n\n[![NPM version](https://img.shields.io/npm/v/lower-case.svg?style=flat)](https://npmjs.org/package/lower-case)\n[![NPM downloads](https://img.shields.io/npm/dm/lower-case.svg?style=flat)](https://npmjs.org/package/lower-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/lower-case.svg?style=flat)](https://travis-ci.org/blakeembrey/lower-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/lower-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/lower-case?branch=master)\n\nReturn the string in lower case.\n\n```js\nchangeCase.lowerCase('TEST STRING')\n//=> \"test string\"\n```\n\n### [sentenceCase](https://github.com/blakeembrey/sentence-case)\n\n[![NPM version](https://img.shields.io/npm/v/sentence-case.svg?style=flat)](https://npmjs.org/package/sentence-case)\n[![NPM downloads](https://img.shields.io/npm/dm/sentence-case.svg?style=flat)](https://npmjs.org/package/sentence-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/sentence-case.svg?style=flat)](https://travis-ci.org/blakeembrey/sentence-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/sentence-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/sentence-case?branch=master)\n\nReturn as a lower case, space separated string.\n\n```js\nchangeCase.sentenceCase('testString')\n//=> \"test string\"\n```\n\n### [titleCase](https://github.com/blakeembrey/title-case)\n\n[![NPM version](https://img.shields.io/npm/v/title-case.svg?style=flat)](https://npmjs.org/package/title-case)\n[![NPM downloads](https://img.shields.io/npm/dm/title-case.svg?style=flat)](https://npmjs.org/package/title-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/title-case.svg?style=flat)](https://travis-ci.org/blakeembrey/title-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/title-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/title-case?branch=master)\n\nReturn as a space separated string with the first character of every word upper cased.\n\n```js\nchangeCase.titleCase('a simple test')\n//=> \"A Simple Test\"\n```\n\n### [camelCase](https://github.com/blakeembrey/camel-case)\n\n[![NPM version](https://img.shields.io/npm/v/camel-case.svg?style=flat)](https://npmjs.org/package/camel-case)\n[![NPM downloads](https://img.shields.io/npm/dm/camel-case.svg?style=flat)](https://npmjs.org/package/camel-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/camel-case.svg?style=flat)](https://travis-ci.org/blakeembrey/camel-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/camel-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/camel-case?branch=master)\n\nReturn as a string with the separators denoted by having the next letter capitalized.\n\n```js\nchangeCase.camelCase('test string')\n//=> \"testString\"\n```\n\n### [pascalCase](https://github.com/blakeembrey/pascal-case)\n\n[![NPM version](https://img.shields.io/npm/v/pascal-case.svg?style=flat)](https://npmjs.org/package/pascal-case)\n[![NPM downloads](https://img.shields.io/npm/dm/pascal-case.svg?style=flat)](https://npmjs.org/package/pascal-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/pascal-case.svg?style=flat)](https://travis-ci.org/blakeembrey/pascal-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/pascal-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/pascal-case?branch=master)\n\nReturn as a string denoted in the same fashion as `camelCase`, but with the first letter also capitalized.\n\n```js\nchangeCase.pascalCase('test string')\n//=> \"TestString\"\n```\n\n### [snakeCase](https://github.com/blakeembrey/snake-case)\n\n[![NPM version](https://img.shields.io/npm/v/snake-case.svg?style=flat)](https://npmjs.org/package/snake-case)\n[![NPM downloads](https://img.shields.io/npm/dm/snake-case.svg?style=flat)](https://npmjs.org/package/snake-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/snake-case.svg?style=flat)](https://travis-ci.org/blakeembrey/snake-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/snake-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/snake-case?branch=master)\n\nReturn as a lower case, underscore separated string.\n\n```js\nchangeCase.snakeCase('test string')\n//=> \"test_string\"\n```\n\n### [paramCase](https://github.com/blakeembrey/param-case)\n\n[![NPM version](https://img.shields.io/npm/v/param-case.svg?style=flat)](https://npmjs.org/package/param-case)\n[![NPM downloads](https://img.shields.io/npm/dm/param-case.svg?style=flat)](https://npmjs.org/package/param-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/param-case.svg?style=flat)](https://travis-ci.org/blakeembrey/param-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/param-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/param-case?branch=master)\n\nReturn as a lower case, dash separated string.\n\n```js\nchangeCase.paramCase('test string')\n//=> \"test-string\"\n```\n\n### [dotCase](https://github.com/blakeembrey/dot-case)\n\n[![NPM version](https://img.shields.io/npm/v/dot-case.svg?style=flat)](https://npmjs.org/package/dot-case)\n[![NPM downloads](https://img.shields.io/npm/dm/dot-case.svg?style=flat)](https://npmjs.org/package/dot-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/dot-case.svg?style=flat)](https://travis-ci.org/blakeembrey/dot-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/dot-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/dot-case?branch=master)\n\nReturn as a lower case, period separated string.\n\n```js\nchangeCase.dotCase('test string')\n//=> \"test.string\"\n```\n\n### [pathCase](https://github.com/blakeembrey/path-case)\n\n[![NPM version](https://img.shields.io/npm/v/path-case.svg?style=flat)](https://npmjs.org/package/path-case)\n[![NPM downloads](https://img.shields.io/npm/dm/path-case.svg?style=flat)](https://npmjs.org/package/path-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/path-case.svg?style=flat)](https://travis-ci.org/blakeembrey/path-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/path-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/path-case?branch=master)\n\nReturn as a lower case, slash separated string.\n\n```js\nchangeCase.pathCase('test string')\n//=> \"test/string\"\n```\n\n### [constantCase](https://github.com/blakeembrey/constant-case)\n\n[![NPM version](https://img.shields.io/npm/v/constant-case.svg?style=flat)](https://npmjs.org/package/constant-case)\n[![NPM downloads](https://img.shields.io/npm/dm/constant-case.svg?style=flat)](https://npmjs.org/package/constant-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/constant-case.svg?style=flat)](https://travis-ci.org/blakeembrey/constant-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/constant-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/constant-case?branch=master)\n\nReturn as an upper case, underscore separated string.\n\n```js\nchangeCase.constantCase('test string')\n//=> \"TEST_STRING\"\n```\n\n### [swapCase](https://github.com/blakeembrey/swap-case)\n\n[![NPM version](https://img.shields.io/npm/v/swap-case.svg?style=flat)](https://npmjs.org/package/swap-case)\n[![NPM downloads](https://img.shields.io/npm/dm/swap-case.svg?style=flat)](https://npmjs.org/package/swap-case)\n[![Build status](https://img.shields.io/travis/blakeembrey/swap-case.svg?style=flat)](https://travis-ci.org/blakeembrey/swap-case)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/swap-case.svg?style=flat)](https://coveralls.io/r/blakeembrey/swap-case?branch=master)\n\nReturn as a string with every character case reversed.\n\n```js\nchangeCase.swapCase('Test String')\n//=> \"tEST sTRING\"\n```\n\n## Typings\n\nIncludes a [TypeScript definition](change-case.d.ts).\n\n## Related\n\n* [Meteor](https://github.com/Konecty/change-case)\n* [Atom](https://github.com/robhurring/atom-change-case)\n* [VSCode](https://github.com/wmaurer/vscode-change-case)\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/change-case.svg?style=flat\n[npm-url]: https://npmjs.org/package/change-case\n[downloads-image]: https://img.shields.io/npm/dm/change-case.svg?style=flat\n[downloads-url]: https://npmjs.org/package/change-case\n[travis-image]: https://img.shields.io/travis/blakeembrey/change-case.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/change-case\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/change-case.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/change-case?branch=master\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/blakeembrey/change-case.git" }, "scripts": { "lint": "standard", "test": "npm run lint && npm run test-cov", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail", "test-std": "mocha -- -R spec --bail" }, "typings": "change-case.d.ts", "version": "2.3.1" }