开发者社区> 镜像站> NPM> p-each
p-each
concurrent each for node/component
Last updated 7 years ago by camshaft .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install p-each 
SYNC missed versions from official npm registry.

p-each

concurrent each for node/component

Installation

npm

$ npm install p-each

component

$ component install camshaft/p-each

Usage

When calling p-each an instance of batch is returned.

var each = require('p-each');

var arr = [1, 2, 3, 4, 5];

each(arr, function(num, fn) {
  fn(null, num * num);
}).end(function(err, squared) {

});

Current Tags

  • 0.1.0                                ...           latest (7 years ago)

1 Versions

  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)