{"_id":"arrayify-compact","_rev":"8-eb31a52e67c686a19c35f952918d2138","name":"arrayify-compact","description":"Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).","dist-tags":{"latest":"0.2.0","patch":"0.1.1"},"versions":{"0.1.0":{"name":"arrayify-compact","description":"Similar to Lo-Dash's compact method, but coerces values to arrays first, then returns a flattened array with all falsey values removed. The values false, null, 0, \"\", undefined, and NaN are all falsey.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/arrayify-compact","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arrayify-compact.git"},"bugs":{"url":"https://github.com/jonschlinkert/arrayify-compact/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/arrayify-compact/blob/master/LICENSE-MIT"}],"keywords":["array","arrayify","boolean","compact","falsey","flat","flatten","flattened","to-array","toArray","values"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":">= 0.2.6","chai":">= 1.9.1","mocha":"*"},"dependencies":{"array-flatten":">= 0.0.2"},"_id":"arrayify-compact@0.1.0","_shasum":"b86df4dadcfc236a4a404f0247940b7f73b3613e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b86df4dadcfc236a4a404f0247940b7f73b3613e","tarball":"https://registry.npmjs.org/arrayify-compact/-/arrayify-compact-0.1.0.tgz","integrity":"sha512-xx8zPXLuzmc+PATgu31i0cAKdLe3V4JV7tkb9h3h44ViR8lPn03TUorW7A2DYi8i27F//iAoJWSOa8QCPeJgzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrV11+RNksfYF2JgBelN3gln3Ld3n+Xc6Dz3XyIq69/QIgUpLF7/tLPFGXB1YtyPsougHL8cOWS/1/i9beA/Iv/fw="}]},"directories":{}},"0.2.0":{"name":"arrayify-compact","description":"Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).","version":"0.2.0","homepage":"https://github.com/jonschlinkert/arrayify-compact","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arrayify-compact.git"},"bugs":{"url":"https://github.com/jonschlinkert/arrayify-compact/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"devDependencies":{"mocha":"^2.2.5","verb":"^0.8.6"},"dependencies":{"arr-flatten":"^1.0.1"},"verbiage":{"related":{"description":"Other utils for working with arrays.","list":["arr-flatten","arr-reduce","arr-pluck","arr-map","arr-union","array-unique","utils"]}},"keywords":["array","arrayify","boolean","compact","falsey","flat","flatten","flattened","to-array","toArray","values"],"gitHead":"466fdfdc6c3bbdc78a89a2d95f6e21665b2ce4a5","_id":"arrayify-compact@0.2.0","scripts":{},"_shasum":"459170e155ca12bb514484839c9d71507c80ec4d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"459170e155ca12bb514484839c9d71507c80ec4d","tarball":"https://registry.npmjs.org/arrayify-compact/-/arrayify-compact-0.2.0.tgz","integrity":"sha512-uCIqMaBeu+onuiFS1kB2raQYLETAAeWwAGwrZs7soA1nu4TuHfejWJMoFL06SvWHZAxmOCN7UDzcBjUZ6Y6s6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICbrah/Mno+GnqznN/oGfIGff120/2gLicXVny20nKHaAiEAhiZLpn7eX6TPVw7j5DyyhJOzo5wNcJ0q9vSeXpjLwlU="}]},"directories":{}},"0.1.1":{"name":"arrayify-compact","description":"Similar to Lo-Dash's compact method, but coerces values to arrays first, then returns a flattened array with all falsey values removed. The values false, null, 0, \"\", undefined, and NaN are all falsey.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/arrayify-compact","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/arrayify-compact.git"},"bugs":{"url":"https://github.com/jonschlinkert/arrayify-compact/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/arrayify-compact/blob/master/LICENSE-MIT"}],"keywords":["array","arrayify","boolean","compact","falsey","flat","flatten","flattened","to-array","toArray","values"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":">= 0.2.6","chai":">= 1.9.1","mocha":"*"},"dependencies":{"array-flatten":"^2.1.2"},"readme":"# arrayify-compact [![NPM version](https://badge.fury.io/js/arrayify-compact.png)](http://badge.fury.io/js/arrayify-compact)\n\n> Similar to Lo-Dash's compact method, but coerces values to arrays first, then returns a flattened array with all falsey values removed. The values false, null, 0, \"\", undefined, and NaN are all falsey.\n\n## Install\nInstall with [npm](npmjs.org):\n\n```bash\nnpm i arrayify-compact --save-dev\n```\n\n## Usage\n\n```js\nvar arrayify = require('arrayify-compact');\nconsole.log(arrayify('a'));\n//=> ['a']\n\nconsole.log(arrayify(['a', 'b', ['c', ['d']]]));\n//=> ['a', 'b', 'c', 'd']\n\nconsole.log(arrayify(['a', 'b', ['c', ['d'], null, false, 0, NaN, '', [], undefined]]));\n//=> ['a', 'b', 'c', 'd']\n```\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 06, 2014._","readmeFilename":"README.md","gitHead":"8adf8ad0213b9b82f8314f71f33b6214c0f6f3ef","_id":"arrayify-compact@0.1.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"integrity":"sha512-3R2V/8ixAhDXxyeWZ9aVzncUscrASg1TPrVsUgkxaMb0/WJLo5u769wYYf916OKqRCF+GKXaosouk1ixIfX89g==","shasum":"64f0214073dd8b8cfc9113b77558c633c801ff78","tarball":"https://registry.npmjs.org/arrayify-compact/-/arrayify-compact-0.1.1.tgz","fileCount":10,"unpackedSize":5672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd59i+CRA9TVsSAnZWagAAPV0QAI4LLRwVMeiXvA0r36Ps\n3HgN52vZRx8yOzk3qJNO6sLC6Z3Q+QyROBq6SKEqUtbJ6+Cqo+VdVRNNaYou\n6UCVXyMgUdUU1ZYT1/MicExrRQ/phCQ9PY6X/j/8TDGjGhbxYzVIeV2HuILU\npZ49YmdcxM5EBAVme2UFXpjBKjdHn+oGOF8343fEGtFZV+WUNrgPTs06NbtT\ngjZxd07MotmCSvhKTXNsDZrF2lz9i+8wghXINf1GOHtWfgNzE/W6yacKCEk/\nj8tflqyxGCef3sFuLRFH6vf1Sfv8wPLYI6ryFZ5rAuQMHPdXc95B8Vtb1mvH\nPiwtiJHUtMcjJlglfL6Ss21lGhbcvJptw/ag0xV7Zk39fPjgVdgOiiMwnuCt\nImTm3ExyNo+GkFWpcve0GYmM6PP3fbT/ERe22RDi0mklAcZxBK41oqxosUgW\nmdXAMwuTjByph8B+eGp8ZcpaxVVOfZEjaqyOLDrHXed39/PWncv+H+ALj4xI\n6GMkMl7oWBEvXDg4mD4IvQJL84qv/shk5M+fBsdcMfL7sHSNRdZsPmjdb42f\nUtOvd6Xn6sxw7WTHMxzpKFTZ3D/1DB5Sl+yibzY9ZV8nUQpBNc0T8aPR86pc\nT/Sfm64Yw3FmcMGFJPyf+EqC4gjpB9mW3/om6sJTCagnVtEueT1wimO1KR8a\nRtUh\r\n=GnLh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6pQDNReMLj3G8gbfdu632qUoMU+Jtvx4ivX8CZNZofQIhAIDdwgyqAVWa5ne5Q3ZTLjZFGat+jrOWvEvhu0W/joj3"}]},"maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arrayify-compact_0.1.1_1575475390336_0.703590299225173"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-13T03:29:18.722Z","created":"2014-07-07T00:39:52.885Z","0.1.0":"2014-07-07T00:39:52.885Z","0.2.0":"2015-06-20T03:49:20.415Z","0.1.1":"2019-12-04T16:03:10.503Z"},"homepage":"https://github.com/jonschlinkert/arrayify-compact","keywords":["array","arrayify","boolean","compact","falsey","flat","flatten","flattened","to-array","toArray","values"],"repository":{"type":"git","url":"git://github.com/jonschlinkert/arrayify-compact.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/arrayify-compact/issues"},"readmeFilename":"","license":"MIT"}