An open API service indexing awesome lists of open source software.

https://github.com/johnapache/promise-aplus-impl

自主实现 符合 Promise/A+ 规范的 Promise, 通过了 promises-aplus-tests 的所有测试用例
https://github.com/johnapache/promise-aplus-impl

promise promises-aplus-tests typescript

Last synced: 9 months ago
JSON representation

自主实现 符合 Promise/A+ 规范的 Promise, 通过了 promises-aplus-tests 的所有测试用例

Awesome Lists containing this project

README

          

# Promise-Aplus-Impl

> 使用 `typescript` 自定义实现了一个符合 `Promise/A+` 规范的 `Promise` 代码, 并通过了 所有 `promises-aplus-tests` 测试用例

- [示例](#示例)
- [建议](#建议)
- [License](#license)

## 示例
```js
// 运行 promises-aplus-tests 测试用例
$ npm run test:mocha
$ yarn test:mocha
```

## 建议
欢迎创建issue 或者 pr [here](https://github.com/JohnApache/promise-aplus-impl/issues).

## License

[MIT](LICENSE)