128 lines
16 KiB
JSON
128 lines
16 KiB
JSON
|
{
|
||
|
"_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//=> \"
|
||
|
"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"
|
||
|
}
|