reqf

Custom require function creator

npm install reqf
18 downloads in the last day
299 downloads in the last week
1 926 downloads in the last month

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
npm loves you