Require local files relative to the root of your node project.
Require local files relative to the path provided at require.
npm install include
var include = require('include')(__dirname);
var foo = require('../../../path/to/foo');
var foo = include('path/to/foo');
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more