The impelmentaion of few typical use cases of Promises:
delay()
sequence()
every()
This is Node.js implementation, it may not work in a browser without modyfications.
Yes, but not for production, as code is not stabilized and not fully tested.
Some examples could be found in tests.
No external dependencies, only for testing mocha and chai are required.
Run commands:
git clone https://github.com/a8775/PromiseTools.ts
in working directory:
npm install
typings install