lazify

1.0.0 • Public • Published

lazify

convenient wrapper for lazy promises

Installation

$ npm install lazify

or

$ component install nathan7/lazify

API

lazify :: (-> Promise a) -> LazyPromise a

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.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    338
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    338

Package Sidebar

Install

npm i lazify

Weekly Downloads

338

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nathan7