motion
Version:
motion - moving development forward
73 lines (72 loc) • 2.3 kB
JSON
{
"_args": [
[
"arrify@https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "arrify@>=1.0.0 <2.0.0",
"_id": "arrify@1.0.1",
"_inCache": true,
"_location": "/arrify",
"_phantomChildren": {},
"_requested": {
"name": "arrify",
"raw": "arrify@https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/anymatch",
"/globby"
],
"_resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"_shasum": "898508da2226f380df904728456849c1501a4b0d",
"_shrinkwrap": null,
"_spec": "arrify@https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "sindresorhus@gmail.com",
"name": "Sindre Sorhus",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/arrify/issues"
},
"dependencies": {},
"description": "Convert a value to an array",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/arrify#readme",
"keywords": [
"arr",
"array",
"arrayify",
"arrify",
"convert",
"value"
],
"license": "MIT",
"name": "arrify",
"optionalDependencies": {},
"readme": "# arrify [](https://travis-ci.org/sindresorhus/arrify)\n\n> Convert a value to an array\n\n\n## Install\n\n```\n$ npm install --save arrify\n```\n\n\n## Usage\n\n```js\nconst arrify = require('arrify');\n\narrify('unicorn');\n//=> ['unicorn']\n\narrify(['unicorn']);\n//=> ['unicorn']\n\narrify(null);\n//=> []\n\narrify(undefined);\n//=> []\n```\n\n*Supplying `null` or `undefined` results in an empty array.*\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/arrify.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "1.0.1"
}