Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/peakchen90/promise

write a promise polyfill
https://github.com/peakchen90/promise

flow jest polyfill promise promisesaplus rollup

Last synced: about 21 hours ago
JSON representation

write a promise polyfill

Awesome Lists containing this project

README

        

# Promise
write a promise polyfill.

手写一个 Promise (实现 Promise/A+ 规范)

## 工程概述
- 使用 [Rollup](https://rollupjs.org) 进行 umd 模块打包
- 使用 [TypeScript](https://www.typescriptlang.org) 开发
- 使用 [Tslint](https://palantir.github.io/tslint/) 进行代码风格检查

## 参考
- Promise 实现规范: [Promises/A+](https://promisesaplus.com/)
- Promise 规范中文版: [Promise/A+规范](https://segmentfault.com/a/1190000002452115)
- Promise 入门: [阮一峰ECMAScript 6 入门 —— Promise](http://es6.ruanyifeng.com/#docs/promise)
- Promise 介绍: [JavaScript Promise迷你书(中文版)](http://liubin.org/promises-book/)
- 参考实现1: [Github: promise-polyfill](https://github.com/taylorhakes/promise-polyfill/)
- 参考实现2: [实现一个符合 Promise/A+ 规范的 MyPromise](https://juejin.im/post/5a5837946fb9a01ca871e5be)