var Qstart = require('qstart');
function onSuccess (doc) {
// do stuff on success...
}
function onError (err) {
// do stuff on error...
}
Qstart.then(onSuccess, onError);
via npm
npm install qstart
npm install
grunt test