{"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":"http://registry-npm.ywwl.com/promise-each/download/promise-each-2.2.0.tgz","integrity":"sha512-67roqt1k3QDA41DZ8xi0V+rF3GoaMiX7QilbXu0vXimut+9RcKBNZ/t60xCRgcsihmNUsEjh48xLfNqOrKblUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6gdCK4UuanE7RKfDB12YLwy5b2h1aCo582zOj7vg7jgIga5v+xz9Zo87aNgnmvwjFdlxRa7PNXsmVS42FYhK8Gso="}],"size":2215,"noattachment":false,"key":"/promise-each/-/promise-each-2.2.0.tgz"},"maintainers":[{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"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":1443976365513,"_cnpm_publish_time":1443976365513,"dist-tags":{"latest":"2.2.0"}}