{ "_args": [ [ { "raw": "decamelize@^1.1.1", "scope": null, "escapedName": "decamelize", "name": "decamelize", "rawSpec": "^1.1.1", "spec": ">=1.1.1 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/yargs" ] ], "_from": "decamelize@>=1.1.1 <2.0.0", "_id": "decamelize@1.2.0", "_inCache": true, "_location": "/decamelize", "_nodeVersion": "4.3.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/decamelize-1.2.0.tgz_1457167749082_0.9810893186368048" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "3.8.0", "_phantomChildren": {}, "_requested": { "raw": "decamelize@^1.1.1", "scope": null, "escapedName": "decamelize", "name": "decamelize", "rawSpec": "^1.1.1", "spec": ">=1.1.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/handlebars/yargs", "/jest-runtime/yargs", "/jest/yargs", "/metro/yargs", "/react-native/yargs", "/yargs" ], "_resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "_shasum": "f6534d15148269b20352e7bee26f501f9a191290", "_shrinkwrap": null, "_spec": "decamelize@^1.1.1", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/yargs", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/decamelize/issues" }, "dependencies": {}, "description": "Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow", "devDependencies": { "ava": "*", "xo": "*" }, "directories": {}, "dist": { "shasum": "f6534d15148269b20352e7bee26f501f9a191290", "tarball": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "95980ab6fb44c40eaca7792bdf93aff7c210c805", "homepage": "https://github.com/sindresorhus/decamelize#readme", "keywords": [ "decamelize", "decamelcase", "camelcase", "lowercase", "case", "dash", "hyphen", "string", "str", "text", "convert" ], "license": "MIT", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "name": "decamelize", "optionalDependencies": {}, "readme": "# decamelize [![Build Status](https://travis-ci.org/sindresorhus/decamelize.svg?branch=master)](https://travis-ci.org/sindresorhus/decamelize)\n\n> Convert a camelized string into a lowercased one with a custom separator
\n> Example: `unicornRainbow` → `unicorn_rainbow`\n\n\n## Install\n\n```\n$ npm install --save decamelize\n```\n\n\n## Usage\n\n```js\nconst decamelize = require('decamelize');\n\ndecamelize('unicornRainbow');\n//=> 'unicorn_rainbow'\n\ndecamelize('unicornRainbow', '-');\n//=> 'unicorn-rainbow'\n```\n\n\n## API\n\n### decamelize(input, [separator])\n\n#### input\n\nType: `string`\n\n#### separator\n\nType: `string`
\nDefault: `_`\n\n\n## Related\n\nSee [`camelcase`](https://github.com/sindresorhus/camelcase) for the inverse.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/decamelize.git" }, "scripts": { "test": "xo && ava" }, "version": "1.2.0" }