What Node.JS-specific files and folders are usually excluded via .gitignore?
GitHub has created a repository to answer this kind of questions for several languages/frameworks, including one for NodeJS.
https://github.com/github/gitignore/blob/master/Node.gitignore
Here is the current one for reference :
lib-cov*.seed*.log*.csv*.dat*.out*.pid*.gzpidslogsresultsbuildnode_modules
Easiest way to check that out is to look at the most popular Node.js modules on github:
https://github.com/visionmedia/express/blob/master/.gitignore
https://github.com/senchalabs/connect/blob/master/.gitignore
https://github.com/nodejitsu/forever/blob/master/.gitignore
https://github.com/LearnBoost/socket.io/blob/master/.gitignore