Promises are a very powerful abstraction on top of callbacks and many asynchronous libraries are starting to use them by default. They are included as a language standard in ES6, and with future versions building them up even further, now is a great time to learn.
This repo will ease you into using implementing and consuming promises by comparing them to the callback pattern you are already familiar with.
by Peter X. Tan
npm install
In a separate terminal window run the following commands
npm run test