promise-zy
v0.0.4
Published
A simple implementation of Promies/A+
Downloads
2
Readme
promise-zy
A tiny implementation of Promies/A+
support APIs
- Promise.prototype.then
- Promise.prototype.catch
- Promise.resolve
- Promise.reject
- Promise.all
- Promise.race
features
- 100% tested with promises-aplus-tests
- support AMD/Commonjs/Web
- tiny
- less than 2KB after uglified
- only 2KB after gziped
超小Promise/A+实现
- 使用promises-aplus-tests进行测试,通过率100%
- 支持 AMD/Commonjs/Web
- 超小
- uglify之后不到6k
- gzip之后只有2k