Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 323 Bytes

Readme.md

File metadata and controls

30 lines (19 loc) · 323 Bytes

async-map

asynchronous map

Installation

$ component install stagas/async-map

Usage

map(array, fn, callback)

Example

var map = require('async-map');

map([1, 2, 3], function(el, fn){
  fn(null, el + 1);
}, function(err, res){
  console.log(res); // [2, 3, 4]
});

License

MIT