node package manager

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);

without include

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

with include

var foo = include('path/to/foo');

license

MIT