Skip to content
Advertisement

Tag: naming-conventions

Node.js project naming conventions for files & folders

What are the naming conventions for files and folders in a large Node.js project? Should I capitalize, camelCase, or under-score? Ie. is this considered valid? Answer After some years with node, I can say that there are no conventions for the directory/file structure. However most (professional) express applications use a setup like: An example which uses this setup is nodejs-starter.

Advertisement