relreq
v1.0.8
Published
wrap node `require` with relative path
Downloads
5
Readme
Relreq
wrap node require
with relative path
Installation
npm install relreq
Usage
before
var yourModule = require(path.resolve('a/b/c/d/e'));
now
var relreq = require('relreq'),
yourModule = relreq('a/b/c/d/e');
Build
npm start
Tests
npm test
Coverage
npm run cover
License
MIT
Release History
- 2015-11-03
v1.0.7
upgrade to babel 6 - 2015-08-12
v1.0.6
Add unit testing, code coverage and remove gulp - 2015-07-01
v1.0.5
Fix package.json - 2015-05-13
v1.0.4
Refactor with ES6 - 2014-11-06
v1.0.3
Support multiple input parameters - 2014-10-25
v1.0.0
Initial release