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
    }
}

Dependencies (1)

Dev Dependencies (10)

Package Sidebar

Install

npm i enb-async-require

Weekly Downloads

40

Version

1.0.1

License

MIT

Last publish

Collaborators

  • swinx