async-dammit
v1.0.1
Published
an async helper for a synchronous world
Downloads
4
Readme
async-dammit
An asynchronous helper for a synchronous world.
- Install with npm:
npm install async-dammit
- Require it:
var _async = require('async-dammit');
- Wrap your (least) favorite synchronous function:
var getStuffAsync = _async(getStuffSync);
- Profit!
getStuffAsync('path/to/stuff', function(error, stuff) {
});