{"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":"http://registry-npm.ywwl.com/promise-each/download/promise-each-1.0.1.tgz","integrity":"sha512-88OrtHe20UuKGvtAJjjX8RquDN7td5uecV9qL4gxu/ZKNRbYGIr52u7+EYR9Zw8JkwYolMN1VXgjH/c64Wk4OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbast6esHv7oIP0eG2t8zXKLt/1gGqr66dq1mEStwciAiBAZO/nrPGj8i/uFCYanVKm/wZSewnzcY7TaoRB+XdVpQ=="}],"size":2143,"noattachment":false,"key":"/promise-each/-/promise-each-1.0.1.tgz"},"directories":{},"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","publish_time":1422071367707,"_cnpm_publish_time":1422071367707,"dist-tags":{"latest":"2.2.0"}}