What Node.JS-specific files and folders are usually excluded via .gitignore? What Node.JS-specific files and folders are usually excluded via .gitignore? git git

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


As a start:

.DS_Storethumbs.db*.lognode_modules/

Add your config.json, compiled .js if you're using coffeescript, etc.