ZPromise is a lightweight Promises library that supports A+ Promises.
Promises/A+ Compliance Test Suite ALL PASSED!
const z = new ZPromise((resolve, reject) => {
resolve('hello')
})
z.then((data) => {
return data + ' world'
}).then((data) => {
console.log(data + '!') // hello world!
})
MIT.