npm's personal messenger
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

lie-fold

0.1.1 • Public • Published
var fold = require('lie-fold');

fold

fold(array (or promise for array) of things,function,accumulator)

like Array.prototype.reduce, but the array may include promises or values and the function may return a promise or a value. fold always return a promise.

unlike lfold and rfold fold calls the values in the order the promises resolve.

License

MIT

Keywords

none

install

npm i lie-fold

Downloadsweekly downloads

0

version

0.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability