Chainable async utilities for collections and arrays
Chainable async utilities for collections and arrays.
The backbone of this module is the async module. The problem this is trying to solve is easy chaining of these useful functional methods. This module also adds a few new methods based off ideas from lodash. Lodash is a very useful library, but it doesn't not allow you to perform async iterations.
At the end of each chain, you can add a
then method which is based off of the Promises/A+ spec. It is not a real promise, but allows you to
error method passed to it as arguments
npm install lot --save
var lot = require'lot';var list = 1 2 3;lotlistfilternextnull item < 3;mapif item === 1 nextnull 'one';if item === 2 next null 'two';;then// items will equal ['one', 'two'] now// Something bad happend;