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