UNPKG

motion

Version:

motion - moving development forward

81 lines (80 loc) 2.88 kB
{ "_args": [ [ "decamelize@https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "decamelize@>=1.1.0 <2.0.0", "_id": "decamelize@1.1.2", "_inCache": true, "_location": "/decamelize", "_phantomChildren": {}, "_requested": { "name": "decamelize", "raw": "decamelize@https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "rawSpec": "https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "scope": null, "spec": "https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "type": "remote" }, "_requiredBy": [ "/cssnano", "/meow", "/uglify-js/yargs" ], "_resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "_shasum": "dcc93727be209632e98b02718ef4cb79602322f2", "_shrinkwrap": null, "_spec": "decamelize@https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "email": "sindresorhus@gmail.com", "name": "Sindre Sorhus", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/decamelize/issues" }, "dependencies": { "escape-string-regexp": "^1.0.4" }, "description": "Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow", "devDependencies": { "ava": "*", "xo": "*" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "homepage": "https://github.com/sindresorhus/decamelize#readme", "keywords": [ "camelcase", "case", "convert", "dash", "decamelcase", "decamelize", "hyphen", "lowercase", "str", "string", "text" ], "license": "MIT", "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](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/decamelize.git" }, "scripts": { "test": "xo && ava" }, "version": "1.1.2" }