{"_id":"@arr/every","_rev":"925134","name":"@arr/every","description":"A tiny, faster alternative to native Array.prototype.every","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"time":{"modified":"2021-09-22T09:15:40.000Z","created":"2017-07-08T23:55:47.797Z","1.0.1":"2019-10-23T11:58:42.623Z","1.0.0":"2017-07-13T01:51:58.230Z","0.2.0":"2017-07-13T01:47:51.424Z","0.1.0":"2017-07-08T23:55:47.797Z"},"users":{},"author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"https://lukeed.com"},"repository":{"type":"git","url":"git+https://github.com/lukeed/arr.git"},"versions":{"1.0.1":{"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":{"shasum":"22fe1f8e6355beca6c7c7bde965eb15cf994387b","size":1095,"noattachment":false,"key":"/@arr/every/-/@arr/every-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@arr/every/download/@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,"publish_time":1571831922623,"_cnpm_publish_time":1571831922623},"1.0.0":{"name":"@arr/every","version":"1.0.0","repository":{"type":"git","url":"git+https://github.com/lukeed/arr.git"},"description":"A tiny, faster alternative to native Array.prototype.every","module":"module.js","main":"index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"engines":{"node":">=4"},"scripts":{"bench":"node bench","test":"tape test/*.js | tap-spec"},"files":["*.js"],"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.0","_shasum":"314f8168f50ae48a032cfdad5fdb436f464a97ac","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"314f8168f50ae48a032cfdad5fdb436f464a97ac","size":1072,"noattachment":false,"key":"/@arr/every/-/@arr/every-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@arr/every/download/@arr/every-1.0.0.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/every-1.0.0.tgz_1499910718139_0.30795682268217206"},"directories":{},"publish_time":1499910718230,"_hasShrinkwrap":false,"_cnpm_publish_time":1499910718230},"0.2.0":{"name":"@arr/every","version":"0.2.0","repository":{"type":"git","url":"git+https://github.com/lukeed/arr.git"},"description":"A tiny, faster alternative to native Array.prototype.every","module":"module.js","main":"index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"engines":{"node":">=4"},"scripts":{"bench":"node bench","test":"tape test/*.js | tap-spec"},"files":["*.js"],"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@0.2.0","_shasum":"4a7c595b0fa064671e40d89bb937acf033e2daa7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"4a7c595b0fa064671e40d89bb937acf033e2daa7","size":1073,"noattachment":false,"key":"/@arr/every/-/@arr/every-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@arr/every/download/@arr/every-0.2.0.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/every-0.2.0.tgz_1499910471297_0.06448150845244527"},"directories":{},"publish_time":1499910471424,"_hasShrinkwrap":false,"_cnpm_publish_time":1499910471424},"0.1.0":{"name":"@arr/every","version":"0.1.0","repository":{"type":"git","url":"git+https://github.com/lukeed/arr.git"},"description":"A tiny, faster alternative to native Array.prototype.every","module":"module.js","main":"index.js","license":"MIT","author":{"name":"Luke Edwards","email":"luke.edwards05@gmail.com","url":"lukeed.com"},"engines":{"node":">=4"},"scripts":{"bench":"node bench","test":"tape test/*.js | tap-spec"},"files":["*.js"],"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@0.1.0","_shasum":"102e0b44d71b052b89d168e7b5de8df1a0ee590a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"lukeed","email":"luke@lukeed.com"},"dist":{"shasum":"102e0b44d71b052b89d168e7b5de8df1a0ee590a","size":615,"noattachment":false,"key":"/@arr/every/-/@arr/every-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@arr/every/download/@arr/every-0.1.0.tgz"},"maintainers":[{"name":"lukeed","email":"luke@lukeed.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/every-0.1.0.tgz_1499558147721_0.2894493844360113"},"directories":{},"publish_time":1499558147797,"_hasShrinkwrap":false,"_cnpm_publish_time":1499558147797}},"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","_attachments":{},"homepage":"https://github.com/lukeed/arr#readme","bugs":{"url":"https://github.com/lukeed/arr/issues"},"license":"MIT"}