node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

include

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