node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

lazify

convenient wrapper for lazy promises

lazify

convenient wrapper for lazy promises

$ npm install lazify

or

$ component install nathan7/lazify

Takes a function that returns a promise and returns a lazy promise. The edge case of returning a value or throwing an error is handled.

MIT