node js config for submodule.
npm install sub-module-config
Node.js sub module pakages.When you tring to run mutiple project of version in single server or port then sub-module-config allow mutiple env for induvidual submodule
``sh`
$ npm install sub-module-config
`js``
var config = require('sub-module-config')
config.init(__dirname)
console.log(config.env)
Server file have to contain anyone of
.env,dev.env or production.env
according to server file run---
node server.js,NODE_ENV=dev node server.js or NODE_ENV=production node server.js