Thursday 27 April 2017

Configuration file best practices node.js

I'm working on a node.js project where a lot of modules require a configuration file. At the moment I'm requiring the config file in each module, is it the best way of doing it? I've thought about setting the config as a global but it looks "dirty".



via aslad

No comments:

Post a Comment