Skip to content

enb/enb-async-require

Repository files navigation

enb-async-require

Build Status Build status

Require files in async manner.

Usage example:

var asyncRequire = require('enb-async-require');

function someAsyncFunc () {
	return asyncRequire('path/to/module').then(function (module) {
		//do stuff with required module here
	}
}