async-dammit

1.0.1 • Public • Published

async-dammit

An asynchronous helper for a synchronous world.

  1. Install with npm:
npm install async-dammit
  1. Require it:
var _async = require('async-dammit');
  1. Wrap your (least) favorite synchronous function:
var getStuffAsync = _async(getStuffSync);
  1. Profit!
getStuffAsync('path/to/stuff', function(error, stuff) {
});

Readme

Keywords

Package Sidebar

Install

npm i async-dammit

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • shawnbot