async-filter
v1.0.0
Published
Filter, with promises!
Downloads
91
Readme
async filter
Filter, with promises!
Usage
var promiseFilter = require('async-filter');
promiseFilter(['a', 'b', 'c'], function(item) {
return Promise.resolve(true);
}).then(function(result) {
console.log(result);
});
// Outputs: ['a', 'b', 'c']
License
MIT. Copyright (c) 2015 Samuel Giles