rootrequire

npm install --save rootrequire # then `var root = require('rootrequire'), myLib = require(root + 'path/to/lib.js');`

rfr

Require From project Root tool for Node.js.

ancesdir

Find a specific ancestor/root directory given a starting location and a search parameter

@warren-bank/root-project-directory

tiny library to help when importing CommonJS modules with paths relative to the root of the project directory