# 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](https://github.com/promises-aplus/promises-tests)
* support AMD/Commonjs/Web
* tiny
    * less than 2KB after uglified
    * only 2KB after gziped

## 超小Promise/A+实现

* 使用[promises-aplus-tests](https://github.com/promises-aplus/promises-tests)进行测试，通过率100%
* 支持 AMD/Commonjs/Web
* 超小
    * uglify之后不到6k
    * gzip之后只有2k