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

/crazy-promise/

    Package Sidebar

    Install

    npm i crazy-promise

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators