Node.js style github.com/felixge/node-style-guide to help you/team keep consistent which I'm happy about as it generally follows a style I prefer
This is a guide for writing consistent and aesthetically pleasing node.js code. It is inspired by what is popular within the community, and flavored with some personal opinions
- 2 Spaces for indention
- Use Semicolons
- Use single quotes, unless you are writing JSON.
- Opening braces go on the same line < you know it makes sense
- Declare one variable per var statement < you know it makes sense
- Use lowerCamelCase for variables, properties and function names
and it goes on .....