Hmmmm... This library is a better fit for config:

https://github.com/lorenwest/node-config

Used it before. It externalizes config into YAML (or JSON) files and allows different setup per environment.