{"name":"just-flatten-it","version":"5.0.0","description":"return a flattened array","main":"index.js","module":"index.mjs","exports":{".":{"require":"./index.js","default":"./index.mjs"}},"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@5.0.0","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-on/PYjrAXbGY2ixuTBYIlF6rKxP+XBRKztbxtCGZJjEnS3nVFsSoyyJGt94me+TDfn6lbQyCMNESbw8124RPGA==","shasum":"1214cc7b32187cca0dfe1e52184a7cf5bd3aeeda","tarball":"http://registry-npm.ywwl.com/just-flatten-it/download/just-flatten-it-5.0.0.tgz","fileCount":8,"unpackedSize":4835,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFX5DlruXQ4yef28kBC6l2KV4cykSfdURoabynOvEQacAiBfFBTBqeSZ/hE0BenOoWQzSfmR5tuX8S/Fos8nvg+OrQ=="}],"size":2126,"noattachment":false,"key":"/just-flatten-it/-/just-flatten-it-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-flatten-it_5.0.0_1636419366227_0.48818098735799054"},"_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":1636419366368,"_cnpm_publish_time":1636419366368,"dist-tags":{"latest":"5.2.0"}}