Neder
really simple and jewish javascript promises. suitable for both browsers and node environments.
Le'Chaiym! 🍺
Installation
npm
npm install --save neder
bower
bower install --save neder
Usage
Neder
var { var neder = ; ; return neder;};
Neder#then
accepts a callback with the format of function(data, next)
.
next
evaluates your next block. pass it your errors and data: next(err, data)
;
Neder.amen
function
Shorthand Neder;
Contributing
- Clone this repo
- Make sure the tests run awesomely in your machine (
npm test
) - Branch this mofo 😏
- Write fantastic code
- Pull request me
- That's it :shipit:
TODO
Neder#catch
method and using theerror
in thenext
blocks.