What naming conventions exist for the primary Node.js file?

Posted by Tom Dworzanski on Stack Overflow See other posts from Stack Overflow or by Tom Dworzanski
Published on 2013-11-08T01:30:28Z Indexed on 2013/11/08 3:54 UTC
Read the original article Hit count: 153

Filed under:
|

This question has been completely edited in hopes that it will be reopened.

The naming of the main Node.js file is something left to the user and and does not seem to be defined by any well established convention. In hopes of finding a good name, I am curious if there are naming conventions in other parts of the Node.js ecosystem that might suggest a name to use.

Some names I have seen are: app.js, index.js, main.js, server.js, etc.

Please provide only well documented standards in answers.

© Stack Overflow or respective owner

Related posts about node.js

Related posts about filenames