{"_id":"promise-each","_rev":"15-983dc22480f543c9dce07c15dc4de5a2","name":"promise-each","description":"Call a function for each value in an array and return a Promise","dist-tags":{"latest":"2.2.0"},"versions":{"1.0.0":{"name":"promise-each","version":"1.0.0","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js","lint":"eslint ."},"repository":{"type":"git","url":"https://github.com/yoshuawuyts/promise-each"},"keywords":["promise","native","bluebird","each"],"license":"MIT","dependencies":{"native-or-bluebird":"^1.1.2"},"devDependencies":{"bluebird":"^2.8.2","eslint":"^0.12.0","istanbul":"^0.3.5","tap-bail":"0.0.0","tap-spec":"^2.2.0","tape":"^3.4.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"a15ca4565aa2a85721b79afbb00eb59bd6e41043","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each","_id":"promise-each@1.0.0","_shasum":"85a440c8e446b276416a2bcd17acd86d27c40b44","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.33","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"85a440c8e446b276416a2bcd17acd86d27c40b44","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-1.0.0.tgz","integrity":"sha512-yXxdQZZmeKMfDzemAOL0YtwqRlPbmg2emhIndBxfk04OaYSMn+h0je5yZwJW4CUiSGdzXzTkIXDDiqWMtR0ggw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTa6AZTYqzftuxKI1kUddwG1liqLjIKLw94Up+ZtmUJAiEAtrD0W2whNPz2j7+RbjmuyJlWUTby2HVLEvuPCo7qXRY="}]}},"1.0.1":{"name":"promise-each","version":"1.0.1","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js","lint":"eslint ."},"repository":{"type":"git","url":"https://github.com/yoshuawuyts/promise-each"},"keywords":["promise","native","bluebird","each"],"license":"MIT","dependencies":{"native-or-bluebird":"^1.1.2"},"devDependencies":{"bluebird":"^2.8.2","eslint":"^0.12.0","istanbul":"^0.3.5","tap-bail":"0.0.0","tap-spec":"^2.2.0","tape":"^3.4.0"},"files":["LICENSE","index.js","README.md"],"gitHead":"b1bdc3a59ca9cba92326ec7a0355798a18c397d4","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each","_id":"promise-each@1.0.1","_shasum":"2bda51cc0406ef01d6a724e7ec5663d3d72a62f5","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.33","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"2bda51cc0406ef01d6a724e7ec5663d3d72a62f5","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-1.0.1.tgz","integrity":"sha512-88OrtHe20UuKGvtAJjjX8RquDN7td5uecV9qL4gxu/ZKNRbYGIr52u7+EYR9Zw8JkwYolMN1VXgjH/c64Wk4OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbast6esHv7oIP0eG2t8zXKLt/1gGqr66dq1mEStwciAiBAZO/nrPGj8i/uFCYanVKm/wZSewnzcY7TaoRB+XdVpQ=="}]}},"2.0.0":{"name":"promise-each","version":"2.0.0","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"standard && NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"keywords":["bluebird","each","native","promise"],"license":"MIT","dependencies":{"native-or-bluebird":"^1.1.2"},"devDependencies":{"bluebird":"^2.8.2","istanbul":"^0.3.5","standard":"^4.5.2","tape":"^3.4.0"},"files":["LICENSE","README.md","index.js"],"gitHead":"75483295d79b5469c02a0b7bd5673a0440331317","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","_id":"promise-each@2.0.0","_shasum":"5f143f4fbdf05366bc745a63c08689d00963a82b","_from":".","_npmVersion":"3.0.0","_nodeVersion":"2.3.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"5f143f4fbdf05366bc745a63c08689d00963a82b","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-2.0.0.tgz","integrity":"sha512-qWn6voYHX7HL661sTTSuCb7OPW/AZn8kczJ+jkXcQvgHy+fTIlz0+1fUZpQGyVoYCnRdIN187nHuHyMBucw6Cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+gTNRpVH5Rr5J1lKLQkv4ka8Eptd/Fy74trWtCwyPBwIhAKWhY5bmhsjdlY2W0f2aA64ZIXYXNJ/IKAjaw2Qa7xQi"}]},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}]},"2.1.0":{"name":"promise-each","version":"2.1.0","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"standard && NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"keywords":["bluebird","each","native","promise"],"license":"MIT","dependencies":{"any-promise":"^0.1.0"},"devDependencies":{"bluebird":"^2.8.2","istanbul":"^0.3.5","standard":"^4.5.2","tape":"^3.4.0"},"files":["LICENSE","README.md","index.js"],"gitHead":"79699ec966151e09eb507d875b8c04f403a79205","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","_id":"promise-each@2.1.0","_shasum":"a7d590e804a04d74c93f3b5169226b213c9d52e6","_from":".","_npmVersion":"3.1.0","_nodeVersion":"2.3.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"a7d590e804a04d74c93f3b5169226b213c9d52e6","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-2.1.0.tgz","integrity":"sha512-DUQ6q+6AqEyjoCOPmKniW+Lna0gurS9HkPTmB9xanha6RMGoXoIWonHmHvVfwTHKEWjLGz5zfCgSkokPMliIFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOwE06u1rymm0BFy27u0SlXRBbmEuUU8/c9U657UIdxQIhAJ/kALKz05oGBMPq8W4c8Cp6al3xCoz8Eljwl2xaaMKV"}]},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}]},"2.1.1":{"name":"promise-each","version":"2.1.1","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"standard && NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"keywords":["bluebird","each","native","promise"],"license":"MIT","dependencies":{"any-promise":"^0.1.0"},"devDependencies":{"bluebird":"^2.8.2","istanbul":"^0.3.5","standard":"^4.5.2","tape":"^3.4.0"},"files":["LICENSE","README.md","index.js"],"gitHead":"340875e0edcb99e1fd64fb6ab42ac14cb7ba0f91","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","_id":"promise-each@2.1.1","_shasum":"656bbf031d5c67a30f08683c597b39cb419d53d1","_from":".","_npmVersion":"3.1.0","_nodeVersion":"2.3.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"656bbf031d5c67a30f08683c597b39cb419d53d1","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-2.1.1.tgz","integrity":"sha512-Hukjff3QcfUeTjSSiiYzA0UAwWZlJoj6qj7bvPFwFIJecrlV2N4Uowy41AsfB2PBGezR7ji3IcQ8qpxMVnXHsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBn7d8ri026vlf/LWnEBNS9CZJ8SQTDQct3aQZ8m2OBOAiEApRXa82pEOtaNQloSQHBI8+DdO4UKgc7d/wfpiUdQzZA="}]},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}]},"2.1.2":{"name":"promise-each","version":"2.1.2","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"standard && NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"keywords":["bluebird","each","native","promise"],"license":"MIT","dependencies":{"any-promise":"^0.1.0"},"devDependencies":{"bluebird":"^2.8.2","istanbul":"^0.3.5","standard":"^4.5.2","tape":"^3.4.0"},"files":["LICENSE","README.md","index.js"],"gitHead":"c6b271a03036d72d0fade7718af3f9f18ac10e00","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","_id":"promise-each@2.1.2","_shasum":"faf70387c8980d270b902c1e8ea66a9ae10ad94d","_from":".","_npmVersion":"2.14.5","_nodeVersion":"4.0.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"faf70387c8980d270b902c1e8ea66a9ae10ad94d","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-2.1.2.tgz","integrity":"sha512-tFGr4xOLy/Y0oytDRWb5MY14Zot/YGdKxv7wwNXcSZm3QrjucV4vl97OBRPsupHYoH/rOwcmDgdpsAPhQcVvlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMuIwFMCTlH0p5Jkug8qAzdivPzK700lC00vw8VBtskAiAUPW2rvAIni+GFHcbbycSJInPCIk5cO5td5NYMr7GsOg=="}]},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}]},"2.2.0":{"name":"promise-each","version":"2.2.0","description":"Call a function for each value in an array and return a Promise","main":"index.js","scripts":{"test":"standard && NODE_ENV=test tape test.js","test-cov":"NODE_ENV=test istanbul cover test.js"},"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"keywords":["bluebird","each","native","promise"],"license":"MIT","dependencies":{"any-promise":"^0.1.0"},"devDependencies":{"bluebird":"^2.8.2","istanbul":"^0.3.5","standard":"^4.5.2","tape":"^3.4.0"},"files":["LICENSE","README.md","index.js"],"gitHead":"3ccfec766b9eaf8efc2cb33e64d984ed0cb36e33","bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","_id":"promise-each@2.2.0","_shasum":"3353174eff2694481037e04e01f77aa0fb6d1b60","_from":".","_npmVersion":"2.14.5","_nodeVersion":"4.0.0","_npmUser":{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"},"dist":{"shasum":"3353174eff2694481037e04e01f77aa0fb6d1b60","tarball":"https://registry.npmjs.org/promise-each/-/promise-each-2.2.0.tgz","integrity":"sha512-67roqt1k3QDA41DZ8xi0V+rF3GoaMiX7QilbXu0vXimut+9RcKBNZ/t60xCRgcsihmNUsEjh48xLfNqOrKblUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6gdCK4UuanE7RKfDB12YLwy5b2h1aCo582zOj7vg7jgIga5v+xz9Zo87aNgnmvwjFdlxRa7PNXsmVS42FYhK8Gso="}]},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}]}},"readme":"# promise-each\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Downloads][downloads-image]][downloads-url]\n\nCall a function [for each][mdn] value in an array and return a [Promise][promise].\nShould only be used for side effects. Waits for promises to resolve before\nproceeding to the next value.\n\n## Installation\n```bash\n$ npm install promise-each\n```\n\n## Usage\n```js\nconst each = require('promise-each')\n\nPromise.resolve([1, 2, 3])\n  .then(each((val) => console.log(val)))\n// => 1\n// => 2\n// => 3\n```\n\n## Why?\nThis module is basically equivalent to [`bluebird.each`][bluebird], but it's\nhandy to have the one function you need instead of a kitchen sink. Modularity!\nEspecially handy if you're serving to the browser and need to reduce your\njavascript bundle size.\n\nWorks great in the browser with\n[browserify](http://github.com/substack/node-browserify)!\n\n## See Also\n- [promise-every](https://github.com/yoshuawuyts/promise-every)\n- [promise-filter](https://github.com/yoshuawuyts/promise-filter)\n- [promise-map](https://github.com/yoshuawuyts/promise-map)\n- [promise-reduce](https://github.com/yoshuawuyts/promise-reduce)\n- [promise-some](https://github.com/yoshuawuyts/promise-some)\n\n## License\n[MIT](https://tldrlegal.com/license/mit-license)\n\n[npm-image]: https://img.shields.io/npm/v/promise-each.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/promise-each\n[travis-image]: https://img.shields.io/travis/yoshuawuyts/promise-each.svg?style=flat-square\n[travis-url]: https://travis-ci.org/yoshuawuyts/promise-each\n[coveralls-image]: https://img.shields.io/coveralls/yoshuawuyts/promise-each.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/yoshuawuyts/promise-each?branch=master\n[downloads-image]: http://img.shields.io/npm/dm/promise-each.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/promise-each\n\n[mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/each\n[promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n[bluebird]: https://github.com/petkaantonov/bluebird/blob/master/API.md#eachfunction-iterator---promise\n","maintainers":[{"name":"yoshuawuyts","email":"yoshuawuyts@gmail.com"}],"time":{"modified":"2022-06-24T18:37:25.409Z","created":"2015-01-24T03:47:16.516Z","1.0.0":"2015-01-24T03:47:16.516Z","1.0.1":"2015-01-24T03:49:27.707Z","2.0.0":"2015-07-04T19:58:11.330Z","2.1.0":"2015-07-11T01:15:35.376Z","2.1.1":"2015-07-11T01:39:58.228Z","2.1.2":"2015-10-04T13:45:32.366Z","2.2.0":"2015-10-04T16:32:45.513Z"},"homepage":"https://github.com/yoshuawuyts/promise-each#readme","keywords":["bluebird","each","native","promise"],"repository":{"type":"git","url":"git+https://github.com/yoshuawuyts/promise-each.git"},"bugs":{"url":"https://github.com/yoshuawuyts/promise-each/issues"},"license":"MIT","readmeFilename":"README.md"}