crazy-promise

A promise that resolves with random delays for testing purposes.

npm install crazy-promise
2 downloads in the last week
8 downloads in the last month

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

npm loves you