2.0.0 • Published 11 years ago

promize v2.0.0

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

promize

create fulfilled and rejected promises

Installation

$ component install nathan7/promize

or

$ npm install promize

API

promize(value)

Returns a fulfilled promise with the given fulfillment value.

promize.resolved(value)

Alias for promize(value)

promize.rejected(reason)

Returns a rejected promise with the given rejection reason.

License

MIT

2.0.0

11 years ago

1.2.4

11 years ago

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago