Skip to content

stagas/async-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

asynchronous map

Resources

Stars

Watchers

Forks

Packages

No packages published