{"name":"just-flatten-it","version":"4.2.0","description":"return a flattened array","type":"commonjs","main":"index.js","module":"index.esm.js","exports":{".":{"require":"./index.js","default":"./index.esm.js"}},"types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c"},"repository":{"type":"git","url":"git+https://github.com/angus-c/just.git"},"keywords":["array","flatten","no-dependencies","just"],"author":{"name":"Angus Croll"},"license":"MIT","bugs":{"url":"https://github.com/angus-c/just/issues"},"homepage":"https://github.com/angus-c/just#readme","_id":"just-flatten-it@4.2.0","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-6LhQBudhysD5slq9HgBbKCIRSASxhMM2G+74R0KIlPhaMsfol7fUInPj1Wwpo6ngg9z3OYcH2t5UMs1TXRAdYw==","shasum":"66e7adf976481c279930febde0c5cb02810af0d6","tarball":"http://registry-npm.ywwl.com/just-flatten-it/download/just-flatten-it-4.2.0.tgz","fileCount":8,"unpackedSize":4865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ8tzhXsrfaybC4wq5K5oRpWI08j2xdgow16ApReQ06AIhAI0VdKBRczh371984/sbUAC3+98kMx5H1m0pA/zRa5pa"}],"size":2146,"noattachment":false,"key":"/just-flatten-it/-/just-flatten-it-4.2.0.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-flatten-it_4.2.0_1635665344271_0.0619947439222186"},"_hasShrinkwrap":false,"readme":"<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->\n<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->\n\n## just-flatten-it\n\nPart of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.\nGuilt-free utilities for every occasion.\n\n[`🍦 Try it`](https://anguscroll.com/just/just-flatten-it)\n\n```shell\nnpm install just-flatten-it\n```\n```shell\nyarn add just-flatten-it\n```\n\nReturn a flattened array\n\n```js\nimport flatten from 'just-flatten-it';\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]]], 1);\n// [1, [2, 3], [[4, 5], 6, 7, [8, 9]]]\n```\n","publish_time":1635665344437,"_cnpm_publish_time":1635665344437,"dist-tags":{"latest":"5.2.0"}}