{"name":"@arr/every","version":"1.0.1","repository":{"type":"git","url":"git+https://github.com/lukeed/arr.git"},"description":"A tiny, faster alternative to native Array.prototype.every","types":"module.d.ts","module":"module.js","main":"index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"https://lukeed.com"},"engines":{"node":">=4"},"keywords":["arr","array","Array.every","Array.prototype.every","performance","native","every"],"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/lukeed/arr/issues"},"homepage":"https://github.com/lukeed/arr#readme","_id":"@arr/every@1.0.1","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-UQFQ6SgyJ6LX42W8rHCs8KVc0JS0tzVL9ct4XYedJukskYVWTo49tNiMEK9C2HTyarbNiT/RVIRSY82vH+6sTg==","shasum":"22fe1f8e6355beca6c7c7bde965eb15cf994387b","tarball":"http://registry-npm.ywwl.com/@arr/every/download/@arr/every-1.0.1.tgz","fileCount":5,"unpackedSize":1922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsEByCRA9TVsSAnZWagAAABIP/2KxeLH2Qhn7G3NFHyGe\nqqmUfU6JkpsWaA2Su0N/ctPdb5ZpZu+HS2l3SAR7J+aUvMtEnX+cqA8ScN9O\nEx3bfvlBfHc92eJMPFvs64vFOgsjFwj4IsTDy0PGmhmFla+fMONxUuZi2VXC\nHlNYzlUh/YeGQjx6rqMOsMoAdo1mLgoaRrQnpGj1vrqpqBePTR/y1oAaavaI\nxWIFNNN72fdurx2PaKGTurndc876Ml+ZO0/prAiCojiPI2Z8m5f5V8O2XbG2\nwYlG40tWxe4g16HpAymeJFNZRB9oCMK7ScgvCQhvFAd3wLXqu892/VspvGmL\n1BWUTHUilJriSI51wkQwh0rANxbovc3h3+DJdbw4lAxfGYzG0GjW2XA6HdBx\nPevQzaxlBXu50HYe7cwLAVvp+rBXvhnU6j7F4lZufOyLBe5bEE7fB5RkO3q3\n+o7rnT6aAWZhGhEciTQSBf+wdMMzbidGKI/cNq9dhSz+Jr49X73skp0geqIi\n6uRa0jTW3IRv6meVvAQgwsCYF7jdhtgQTycPwJ7B+WJfxTlWBhJPD5IVgYO7\nLd+OkbIqfjoyNRnNBSp2Jv/74T5LJdasgVp6QLmotB4PlLbGlTo34VlpwE35\nU9+kS+vF36n/eZHC4d0uHAXNNzow1qKx5F1aZ01SXUBdvkYRzAPtbMApLOwR\ntxdH\r\n=gUbm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0NmUw/KWiFUkhPErW1vbTrA4qFE9u9IV+JeShXUrdGAiBrOMFQZZRzentC4u23SMhWXz8Qlo7WFjjWWtj7Kbaixg=="}],"size":1095,"noattachment":false,"key":"/@arr/every/-/@arr/every-1.0.1.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/every_1.0.1_1571831922503_0.22562219856844878"},"_hasShrinkwrap":false,"readme":"# @arr/every\n\n> A tiny, faster alternative to native `Array.prototype.every`\n\n:warning: Unlike native, `@arr/every` does _not_ support the optional `thisArg` parameter!\n\n## Install\n\n```\n$ npm install --save @arr/every\n```\n\n## Usage\n\n```js\nimport every from '@arr/every';\n\nconst isBigEnough = val => val >= 10;\n\nevery([12, 5, 8, 130, 44], isBigEnough);\n//=> false\nevery([12, 54, 18, 130, 44], isBigEnough);\n//=> true\n```\n\n## API\n\n### every(arr, callback)\n\n#### arr\nType: `Array`<br>\nThe array to iterate upon.\n\n#### callback(value[, index, array])\nType: `Function`<br>\nFunction to test for each element, taking three arguments:\n\n* **value** (required) -- The current element being processed in the array.\n* **index** (optional) -- The index of the current element being processed in the array.\n* **array** (optional) -- The array `every` was called upon.\n\n\n## License\n\nMIT © [Luke Edwards](http://lukeed.com)\n","publish_time":1571831922623,"_cnpm_publish_time":1571831922623,"dist-tags":{"latest":"1.0.1"}}