2.0.3 • Published 4 years ago

@l9m/promise v2.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@l9m/promise

A simple Promise/A+ implementation.

npm

Installation

$ npm install promise

Usage

The example below shows how you can load the promise library.There is a complete specification Promises/A+.

const Promise = require('@l9m/promise')
const promise = new Promise((resolve, reject) => {
  setTimeout(() => {
    resolve('1000 ms')
  }, 1000)
})

License

MIT

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago