Skip to content

A tiny implementation of Promies/A+(超小Promise/A+实现)

Notifications You must be signed in to change notification settings

wormsan/promise-zy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promises/A+ logo

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

About

A tiny implementation of Promies/A+(超小Promise/A+实现)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published