reqexd

0.0.3 • Public • Published

reqexd

Equivalent of require, but in another dir than node_modules to be able to version custom modules.

Usage

Default include dir is "includes":

var reqexd = require('reqexd');

// foo is located at ../...../includes/foo
var foo = reqexd('foo');

Change the include dir:

var reqexd = require('reqexd');
reqexd.include_dir = "bar";

// foo is located at ../...../bar/foo
var foo = reqexd('foo');

license

MIT

Readme

Keywords

Package Sidebar

Install

npm i reqexd

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • idcware