https://github.com/imtaotao/promise
A basic promise implementation.
https://github.com/imtaotao/promise
promise
Last synced: 13 days ago
JSON representation
A basic promise implementation.
- Host: GitHub
- URL: https://github.com/imtaotao/promise
- Owner: imtaotao
- Created: 2018-07-09T09:03:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T10:21:27.000Z (over 6 years ago)
- Last Synced: 2025-03-28T00:41:42.096Z (about 1 month ago)
- Topics: promise
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 44
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Promise/es6
[![NPM version][npm-image]][npm-url]
This `Promise` case is implemented in `es6`, and it is compatible with the native `async/await` function through the official unit test of the promise. This case is for study only, if it is used in a production environment, you can use the files in the `dist` directory.### test
You can use `npm i` or `yarn` install dependencies, then use `npm run test` or `yarn test` to test.
[npm-url]: https://www.npmjs.com/package/es2015-promise
[npm-image]: https://img.shields.io/npm/v/es2015-promise.svg