Node.js .gitignore Template

A ready .gitignore for Node projects — add Next.js, Vite or your editor with one click.

Loading Tool...

Help shape Node.js .gitignore Template

The bug you just noticed will fade in 3 minutes. The feature idea will vanish after your next tab switch. Crazy peps don't suffer silently.

0/1000

Frequently Asked Questions

Yes for apps — it makes installs reproducible. The template keeps lockfiles committed.

Yes. Commit a .env.example with placeholder values instead.

The template ignores .yarn/* but keeps patches, plugins, releases and sdks, as Yarn recommends.

Search Next.js in the template list and tick it.

No. Folder scanning reads file names locally in your browser. Only public GitHub templates are fetched; your files never leave your device.