Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/async-map

asynchronous map
https://github.com/stagas/async-map

Last synced: 13 days ago
JSON representation

asynchronous map

Awesome Lists containing this project

README

        

# async-map

asynchronous map

## Installation

```sh
$ component install stagas/async-map
```

## Usage

#### map(array, fn, callback)

## Example

```js
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