Skip to content

Instantly share code, notes, and snippets.

@codergautam
Created October 8, 2021 21:47
Show Gist options
  • Save codergautam/2b32490f8d35f51932b504206f0e356a to your computer and use it in GitHub Desktop.
Save codergautam/2b32490f8d35f51932b504206f0e356a to your computer and use it in GitHub Desktop.
Node.js Gitignore. A simple gitignore template I use for my node projects!
# Node.js Gitignore
# Coder Gautam YT
<<<<<<< HEAD
node_modules/
.env
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
out/
dist/
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
node_modules/
.env
.DS_Store
package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment