Custom require function creator
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

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