enb-async-require
Version:
Require files in async manner.
19 lines (13 loc) • 534 B
Markdown
# enb-async-require
[](https://travis-ci.org/enb-make/enb-async-require)
[](https://ci.appveyor.com/project/SwinX/enb-async-require)
Require files in async manner.
Usage example:
```js
var asyncRequire = require('enb-async-require');
function someAsyncFunc () {
returm asyncRequire('path/to/module').then(function (module) {
//do stuff with required module here
}
}
```