{"_id":"flatten","_rev":"77651","name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.","dist-tags":{"latest":"1.0.3"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"time":{"modified":"2022-09-06T17:15:39.000Z","created":"2012-06-28T02:21:27.901Z","1.0.3":"2019-10-31T02:43:51.363Z","1.0.2":"2016-01-20T01:00:17.869Z","1.0.1":"2016-01-20T00:56:04.340Z","1.0.0":"2016-01-20T00:45:01.565Z","0.0.1":"2012-06-28T02:40:18.232Z","0.0.0":"2012-06-28T02:21:27.901Z"},"users":{"feross":true,"csbun":true,"joje":true,"rochejul":true,"shreyawhiz":true,"dylanh724":true,"lamansky":true,"jream":true},"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"repository":{"type":"git","url":"git+https://github.com/mk-pmb/flatten-js.git"},"versions":{"1.0.3":{"name":"flatten","version":"1.0.3","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.","keywords":["array","flatten"],"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"homepage":"https://github.com/mk-pmb/flatten-js/#readme","repository":{"type":"git","url":"git+https://github.com/mk-pmb/flatten-js.git"},"bugs":{"url":"https://github.com/mk-pmb/flatten-js/issues"},"contributors":[{"name":"M.K.","url":"https://github.com/mk-pmb"}],"private":false,"license":"MIT","scripts":{"test":"node ./test.js"},"directories":{"test":"test"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"npm vs. BOM = Unexpected token":"-*- coding: UTF-8 -*-","gitHead":"5de8fae5a5b32290f31d83fcb402fedbc86373e3","_id":"flatten@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"mk-pmb","email":"mk+npmjs@pimpmybyte.de"},"dist":{"shasum":"c1283ac9f27b368abc1e36d1ff7b04501a30356b","size":2037,"noattachment":false,"key":"/flatten/-/flatten-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-1.0.3.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flatten_1.0.3_1572489831247_0.34710827259766996"},"_hasShrinkwrap":false,"publish_time":1572489831363,"_cnpm_publish_time":1572489831363,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."},"1.0.2":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items","version":"1.0.2","repository":{"type":"git","url":"git://github.com/jesusabdullah/node-flatten.git"},"main":"./index.js","scripts":{"test":"node ./test.js"},"license":"MIT","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"gitHead":"ef62d459a529ee04540f10927a28a3143dfd7875","bugs":{"url":"https://github.com/jesusabdullah/node-flatten/issues"},"homepage":"https://github.com/jesusabdullah/node-flatten#readme","_id":"flatten@1.0.2","_shasum":"dae46a9d78fbe25292258cc1e780a41d95c03782","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"jfhbrook","email":"josh.holbrook@gmail.com"},"dist":{"shasum":"dae46a9d78fbe25292258cc1e780a41d95c03782","size":1906,"noattachment":false,"key":"/flatten/-/flatten-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-1.0.2.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"directories":{},"publish_time":1453251617869,"_cnpm_publish_time":1453251617869,"_hasShrinkwrap":false,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."},"1.0.1":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items","version":"1.0.1","repository":{"type":"git","url":"git://github.com/jesusabdullah/node-flatten.git"},"main":"./index.js","scripts":{"test":"node ./test.js"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"gitHead":"05c1bb4de9543b9c3a15a0355a1285b9ccd59d3b","bugs":{"url":"https://github.com/jesusabdullah/node-flatten/issues"},"homepage":"https://github.com/jesusabdullah/node-flatten#readme","_id":"flatten@1.0.1","_shasum":"0c63514ad167398a49b7504d50b56f9b1d7217a3","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"jfhbrook","email":"josh.holbrook@gmail.com"},"dist":{"shasum":"0c63514ad167398a49b7504d50b56f9b1d7217a3","size":1895,"noattachment":false,"key":"/flatten/-/flatten-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-1.0.1.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"directories":{},"publish_time":1453251364340,"_cnpm_publish_time":1453251364340,"_hasShrinkwrap":false,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."},"1.0.0":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items","version":"1.0.0","repository":{"type":"git","url":"git://github.com/jesusabdullah/node-flatten.git"},"main":"./index.js","scripts":{"test":"node ./test.js"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"gitHead":"2fee40bb40bf725e770f345de30972debf507da5","bugs":{"url":"https://github.com/jesusabdullah/node-flatten/issues"},"homepage":"https://github.com/jesusabdullah/node-flatten#readme","_id":"flatten@1.0.0","_shasum":"089998ca36732d97c1505b099c8d3d1fe31a26d1","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"jfhbrook","email":"josh.holbrook@gmail.com"},"dist":{"shasum":"089998ca36732d97c1505b099c8d3d1fe31a26d1","size":1794,"noattachment":false,"key":"/flatten/-/flatten-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-1.0.0.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"directories":{},"publish_time":1453250701565,"_cnpm_publish_time":1453250701565,"_hasShrinkwrap":false,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."},"0.0.1":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items","version":"0.0.1","repository":{"type":"git","url":"git://github.com/jesusabdullah/node-flatten.git"},"main":"./index.js","scripts":{"test":"node ./test.js"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},"_id":"flatten@0.0.1","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"554440766da0a0d603999f433453f6c2fc6a75c1","size":1105,"noattachment":false,"key":"/flatten/-/flatten-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-0.0.1.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"directories":{},"publish_time":1340851218232,"_cnpm_publish_time":1340851218232,"_hasShrinkwrap":false,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."},"0.0.0":{"author":{"name":"Joshua Holbrook","email":"josh.holbrook@gmail.com","url":"http://jesusabdullah.net"},"name":"flatten","description":"Flatten arbitrarily nested arrays into a non-nested list of non-array items","version":"0.0.0","repository":{"type":"git","url":"git://github.com/jesusabdullah/node-flatten.git"},"main":"./index.js","scripts":{"test":"node ./test.js"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},"_id":"flatten@0.0.0","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"5088c6ac84e208dfaa920baa4bf86e7ba047ec16","size":1002,"noattachment":false,"key":"/flatten/-/flatten-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/flatten/download/flatten-0.0.0.tgz"},"maintainers":[{"name":"jesusabdullah","email":"josh.holbrook@gmail.com"},{"name":"mk-pmb-2fa","email":""}],"directories":{},"publish_time":1340850087901,"_cnpm_publish_time":1340850087901,"_hasShrinkwrap":false,"deprecated":"flatten is deprecated in favor of utility frameworks such as lodash."}},"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","_attachments":{},"homepage":"https://github.com/mk-pmb/flatten-js/#readme","bugs":{"url":"https://github.com/mk-pmb/flatten-js/issues"},"license":"MIT"}