config.coffee is fine, I need to understand something about NodeJS and JavaScript. It seems as if developers are using folders inside a project to group code like packages in Java. If you then use something like: var config = require('./config'), that only points to the path of the config folder, then it will automatically load the index.js file in that folder. The code will then be more modular and reusable when the project gets big.