98 lines
3.6 KiB
JSON
98 lines
3.6 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "array-flatten@1.1.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "array-flatten",
|
||
|
"name": "array-flatten",
|
||
|
"rawSpec": "1.1.1",
|
||
|
"spec": "1.1.1",
|
||
|
"type": "version"
|
||
|
},
|
||
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/express"
|
||
|
]
|
||
|
],
|
||
|
"_from": "array-flatten@1.1.1",
|
||
|
"_id": "array-flatten@1.1.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/array-flatten",
|
||
|
"_nodeVersion": "2.3.3",
|
||
|
"_npmUser": {
|
||
|
"name": "blakeembrey",
|
||
|
"email": "hello@blakeembrey.com"
|
||
|
},
|
||
|
"_npmVersion": "2.11.3",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "array-flatten@1.1.1",
|
||
|
"scope": null,
|
||
|
"escapedName": "array-flatten",
|
||
|
"name": "array-flatten",
|
||
|
"rawSpec": "1.1.1",
|
||
|
"spec": "1.1.1",
|
||
|
"type": "version"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/express"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
|
||
|
"_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "array-flatten@1.1.1",
|
||
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/express",
|
||
|
"author": {
|
||
|
"name": "Blake Embrey",
|
||
|
"email": "hello@blakeembrey.com",
|
||
|
"url": "http://blakeembrey.me"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/blakeembrey/array-flatten/issues"
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "Flatten an array of nested arrays into a single flat array",
|
||
|
"devDependencies": {
|
||
|
"istanbul": "^0.3.13",
|
||
|
"mocha": "^2.2.4",
|
||
|
"pre-commit": "^1.0.7",
|
||
|
"standard": "^3.7.3"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2",
|
||
|
"tarball": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"array-flatten.js",
|
||
|
"LICENSE"
|
||
|
],
|
||
|
"gitHead": "1963a9189229d408e1e8f585a00c8be9edbd1803",
|
||
|
"homepage": "https://github.com/blakeembrey/array-flatten",
|
||
|
"keywords": [
|
||
|
"array",
|
||
|
"flatten",
|
||
|
"arguments",
|
||
|
"depth"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "array-flatten.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "blakeembrey",
|
||
|
"email": "hello@blakeembrey.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "array-flatten",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# Array Flatten\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\n> Flatten an array of nested arrays into a single flat array. Accepts an optional depth.\n\n## Installation\n\n```\nnpm install array-flatten --save\n```\n\n## Usage\n\n```javascript\nvar flatten = require('array-flatten')\n\nflatten([1, [2, [3, [4, [5], 6], 7], 8], 9])\n//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]\n\nflatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2)\n//=> [1, 2, 3, [4, [5], 6], 7, 8, 9]\n\n(function () {\n flatten(arguments) //=> [1, 2, 3]\n})(1, [2, 3])\n```\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat\n[npm-url]: https://npmjs.org/package/array-flatten\n[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat\n[downloads-url]: https://npmjs.org/package/array-flatten\n[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/array-flatten\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master\n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/blakeembrey/array-flatten.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "istanbul cover _mocha -- -R spec"
|
||
|
},
|
||
|
"version": "1.1.1"
|
||
|
}
|