array-generators
Array methods (forEach, forEachSeries, map, filter) with support for generator functions.
Installation
$ npm install array-generators --save
Usage
let array = ; let forEach = arrayforEach;let filter = arrayfilter;let map = arraymap; let arr = 'first' 'second' 'third'; /* forEach (async) */ ; /* forEachSeries (serially) */ ; /* filter */let result = ; /* map */let result = ;
Tests
$ make test
License
MIT © Vadym Demedes