node package manager

dank-amap

node-dank-amap

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

Similar feature set as node-dank-map

example

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