enb-async-require

1.0.1 • Public • Published

enb-async-require

Build Status Build status

Require files in async manner.

Usage example:

var asyncRequire = require('enb-async-require');
 
function someAsyncFunc () {
    returm asyncRequire('path/to/module').then(function (module) {
        //do stuff with required module here
    }
}

Package Sidebar

Install

npm i enb-async-require

Weekly Downloads

61

Version

1.0.1

License

MIT

Last publish

Collaborators

  • swinx