Skip to content

zRains/ZPromise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZPromise Promises/A+ logo

ZPromise is a lightweight Promises library that supports A+ Promises.

Promises/A+ Compliance Test Suite ALL PASSED!

Usage

const z = new ZPromise((resolve, reject) => {
  resolve('hello')
})

z.then((data) => {
  return data + ' world'
}).then((data) => {
  console.log(data + '!') // hello world!
})

License

MIT.

About

ZPromise is a lightweight Promises library that supports A+ Promises.

Topics

Resources

License

Stars

Watchers

Forks

Contributors