node-path
This is module is a simple hack to allow old require.paths
deprecated method.
Install
$ npm install node-path
Usage
// On process.mainModule; eg: node index.jsmodule '../libs' '../vendor'; // On a child modulemodule; var myLib = ;var myVendor = ;
Todo
- Add some tests
- Improve extend method
Licence
MIT