This package has been deprecated
Author message:
This library is no longer maintained. You're better off using something like bluebird
love-letter
0.1.5 • Public • Published
Love Letter is a small Promise library for Node.JS that aims to be fast, while conforming to the Promises/A+ specification.
Installation
npm install love-letter
Example
Standard promise usage.
const LoveLetter = require('love-letter');
function doSomethingReallyLong() {
return new LoveLetter(resolve => {
let res = somethingReallyIntensive();
resolve(res);
});
}
doSomethingReallyLong().then(console.log);
To-Do
- Become fully compliant with the Promises/A+ specification.
- Become faster while still being compliant.
Dependencies (0)
Dev Dependencies (7)
Package Sidebar
Install
Weekly Downloads