Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wankdanker/node-dank-amap

An asynchronous map function which can map over anything for node.
https://github.com/wankdanker/node-dank-amap

Last synced: 14 days ago
JSON representation

An asynchronous map function which can map over anything for node.

Awesome Lists containing this project

README

        

node-dank-amap
--------------

An asynchronous map function which can map over anything for node.

Similar feature set as [node-dank-map](https://github.com/wankdanker/node-dank-map)

example
-------

```javascript
amap = require('dank-amap');

amap([5,2,4,5], function (key, val, next, emit, end) {
if (val === 5) {
return next();
}
else {
return next(null, val);
}
}, function (err, result) {
console.log(result);
}, true);

```

See also test.js