include

Require local files relative to the root of your node project.

node-include

Require local files relative to the path provided at require.

install

npm install include

usage

var include = require('include')(__dirname);
var foo = require('../../../path/to/foo');
var foo = include('path/to/foo');

license

MIT