A no nonsense configuration module for node.js

Posted by Nishant on 9, Feb 2017

There is no dearth of configuration modules in npm, however if you are looking for a config module which simply gives you:

  1. A way to cleanly define config settings, outside your source code.
  2. Has a configurable directory to put the config files.
  3. Has feature to separate out environment specific config settings (i.e. for prod, dev etc).
  4. Does not have crap load of dependencies.
  5. Supports nested settings.
  6. And most importantly doesn't expect you to do much to set it up.

then you can checkout a really small package tiny-config. It just works and follows a very simple and intuitive approach to set it up.