reqf
v1.0.0
Published
Custom require function creator
Downloads
25
Readme
reqf — custom require function creator
reqf
(require factory) is a very simple helper that creates custom but fully functional require()
functions.
Usage
var reqf = require('reqf'),
myRequire = reqf(process.cwd());
console.log(myRequire.resolve('my-module'));
Installation
npm i --save reqf