enb-async-require

Require files in async manner.

MIT 2 个版本
安装
npm install enb-async-require
yarn add enb-async-require
pnpm add enb-async-require
bun add enb-async-require
README

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
	}
}
版本列表
1.0.1 2015-10-08
1.0.0 2015-09-22