crazy-promise

1.0.1 • Public • Published

Build Status

crazy-promise

A promise that resolves with random delays for testing purposes.

Installation

$ npm install crazy-promise

or

$ component install nathan7/crazy-promise

API

new CrazyPromise(function(resolve, reject))

Create a new crazy promise with the given function.

CrazyPromise.from(thenable)

Convert a promies to a crazy promise.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i crazy-promise

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators