Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imtaotao/promise
A basic promise implementation.
https://github.com/imtaotao/promise
promise
Last synced: 7 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T10:21:27.000Z (over 6 years ago)
- Last Synced: 2024-11-01T03:53:32.439Z (14 days ago)
- Topics: promise
- Language: JavaScript
- Homepage:
- Size: 85 KB
- Stars: 44
- Watchers: 1
- 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.
![test](./test.png)[npm-url]: https://www.npmjs.com/package/es2015-promise
[npm-image]: https://img.shields.io/npm/v/es2015-promise.svg