relquire

yes, it's another wrapper for node's require.*

relquire

yes, it's another wrapper for node's require*

require modules relative to your project's root directory.

$ npm install relquire
var relquire = require('relquire')

var foo = relquire('~/path/from/package/root')

foo()

Requires the module relative to the baseDir directory. If baseDir is not specified, defaults to the package root of the module requiring relquire.

Finds the closest package.json-containing directory (package root).

Resolves a file path relative to the baseDir directory. If baseDir is not specified, defaults to the package root of the module requiring relquire.

From package root:

$ npm install
$ npm test

jden jason@denizac.org

MIT. (c) 2013 Agile Diagnosis hello@agilediagnosis.com. See LICENSE.md

*aren't you glad I didn't call it reliquary like I was going to?