@ptkhanh94npm/commodi-odio-alias

1.0.0 • Public • Published

@ptkhanh94npm/commodi-odio-alias

npm version Build Status

Callback wrapper for cleaner async code. Main benefit is you don't need to write if (err) return cb(err).

Usage

var @ptkhanh94npm/commodi-odio-alias = require('@ptkhanh94npm/commodi-odio-alias');

var doSomething = function(cb) {
  getUsers(@ptkhanh94npm/commodi-odio-alias(cb)(function(users) {
    getArticles(@ptkhanh94npm/commodi-odio-alias(cb)(function(articles) {
      cb(null, [users, articles]);
    }));
  }));
};

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @ptkhanh94npm/commodi-odio-alias

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

12.7 kB

Total Files

10

Last publish

Collaborators

  • skylerlabsventure