{"name":"just-flatten-it","version":"4.2.1","description":"return a flattened array","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.1","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-ORN9souHU0RpfOjRZXC2hkYBt1VcKdU4nLrwiOpqvb8R1dxsxeBvYngDDLi44JNuBBGZOiU3lTQ+8rGt9MpOlA==","shasum":"2866fcbf9db00092b8c5632bb6507081eaabbb73","tarball":"http://registry-npm.ywwl.com/just-flatten-it/download/just-flatten-it-4.2.1.tgz","fileCount":8,"unpackedSize":4841,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtmHHgAvLftYDI2Z+urdzpj8Z5x9g4UAyAh1VXUwdX9AiEAomkuHBoCFzv5ds/PRwr8ByKX8UIu6A+67hsyR1KkSXk="}],"size":2132,"noattachment":false,"key":"/just-flatten-it/-/just-flatten-it-4.2.1.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-flatten-it_4.2.1_1635727869058_0.3533242810390236"},"_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":1635727869392,"_cnpm_publish_time":1635727869392,"dist-tags":{"latest":"5.2.0"}}