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

babel-plugin-root-require

Transforms require module paths that have a prefix referring to the project root. Also works on `require.resolve`.