{"name":"just-flatten-it","version":"4.0.0","description":"return a flattened array","main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"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.0.0","_nodeVersion":"12.22.6","_npmVersion":"6.14.15","_npmUser":{"name":"angus-c","email":"anguscroll@gmail.com"},"dist":{"integrity":"sha512-FgC5ra8YApsozsxJGiZFEJwZEsXMAXgQFwFNWodjm6mfk9bq7hlAhTwbl+8w0fNx1geAWdttMrqD7v7Nd33dZA==","shasum":"ec0f166cbb0e292f83fdc075e9d1574c2378608f","tarball":"http://registry-npm.ywwl.com/just-flatten-it/download/just-flatten-it-4.0.0.tgz","fileCount":6,"unpackedSize":3458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU6UND5KxY+xbxhgHBayA415aVl6HDjThzYDDfT2zLKQIgeAN8g9akbOL0M0xUyl08co9/Hg3PLX7qY8lK6Bvm9Fg="}],"size":1846,"noattachment":false,"key":"/just-flatten-it/-/just-flatten-it-4.0.0.tgz"},"directories":{},"maintainers":[{"name":"angus-c","email":"anguscroll@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/just-flatten-it_4.0.0_1634879981032_0.6008346336832897"},"_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":1634879981171,"_cnpm_publish_time":1634879981171,"dist-tags":{"latest":"5.2.0"}}