$ npm install map-async
Asynchronously map over a list
var map = require("map-async")
map({
foo: "bar"
, baz: "boz"
}, function iterator(value, key, cb) {
return value + value
}, function finish(err, result) {
/* ... */
})
npm install map-async
© 2010 - cnpmjs.org x YWFE | Home | YWFE