$ cnpm install node-array
Extending the array object for Node.js, to provide more methods and features to operate array object.
Asynchronize forEach() Method:
var Array = require('node-array');
var a = [ 1, 2, 3, 4, 5 ];
a.forEachAsync(function(element, index, complete) {
console.log(element);
}, function() {
console.log('complete');
});
Licensed under the MIT License
Copyright(c) 2012 Fred Chien <cfsghost@gmail.com>
Copyright 2013 - present © cnpmjs.org | Home |