To use Promesse, simply install it from the npm registry.
npm install promesse
Then require it in your node.js scripts.
var Promesse = require"promesse"Promesse;var myPromise = ;// The rest is like any Promise/A+ implementationsmyPromisefulfill;
For more info on how to use it, have a look at the official Emily's documentation:
Promesse can be tested against Domenic Denicola's test suite: https://github.com/promises-aplus/promises-tests
npm test promesse