0.0.2 • Published 8 years ago

sequire v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Sequire

require modules from the root of your application without the ../../{im lost notation}

Installation

npm install sequire

Usage

var mod = require('something/from/nearest/parent/folder/with/package.json');

OR

This will return an absolute path to the module (?)

var mod = require('something/from/nearest/parent/folder/with/package.json', true);

Thoughts ...

? Maybe it should return a relative path from calling file?