motion
Version:
motion - moving development forward
59 lines (58 loc) • 2.18 kB
JSON
{
"_args": [
[
"flatten@https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "flatten@1.0.2",
"_id": "flatten@1.0.2",
"_inCache": true,
"_location": "/flatten",
"_phantomChildren": {},
"_requested": {
"name": "flatten",
"raw": "flatten@https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"rawSpec": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/postcss-discard-unused"
],
"_resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"_shasum": "dae46a9d78fbe25292258cc1e780a41d95c03782",
"_shrinkwrap": null,
"_spec": "flatten@https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "josh.holbrook@gmail.com",
"name": "Joshua Holbrook",
"url": "http://jesusabdullah.net"
},
"bugs": {
"url": "https://github.com/jesusabdullah/node-flatten/issues"
},
"dependencies": {},
"description": "Flatten arbitrarily nested arrays into a non-nested list of non-array items",
"devDependencies": {},
"engines": {
"node": "*"
},
"homepage": "https://github.com/jesusabdullah/node-flatten#readme",
"license": "MIT",
"main": "./index.js",
"name": "flatten",
"optionalDependencies": {},
"readme": "# flatten\n\nA tiny utility to flatten arrays of arrays (of arrays, etc., recursively, infinitely or to an optional depth) into a single array of non-arrays.\n\n## example:\n\n```js\n> var flatten = require('flatten');\nundefined\n> flatten([1, [2, 3], [4, 5, 6], [7, [8, 9]], 10])\n[ 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10 ]\n> flatten([1, [2, [3, [4, [5]]]]], 2)\n[ 1,\n 2,\n 3,\n [ 4, [ 5 ] ] ]\n```\n\n## install:\n\n npm install flatten\n\n## license:\n\nMIT/X11.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/jesusabdullah/node-flatten.git"
},
"scripts": {
"test": "node ./test.js"
},
"version": "1.0.2"
}