require-root-symlink
v0.0.5
Published
Making components first-class for node.js with symlinks
Downloads
8
Maintainers
Readme
require-root-symlink
Making components first-class for node.js with symlinks
INSTALL
npm install require-root-symlink
USAGE
In
index.js
on top add next code:require('require-root-symlink')(__dirname);
When you will run your nodejs application
require-root-symlink
module will check and create symlink:node_modules/_
to.
Now you can use
_
inrequire
string:var Config = require('/Config.js'); var App = require('/engine/App.js'); ..............................
CHANGELOG
October 30, 2016 (version: 0.0.4)
- Refactoring
- Remove todos, console.log, etc.
September 29, 2016
- first release