create-ignore
v1.0.1
Published
Interactive tool to configure .gitignore file
Maintainers
Readme
create-ignore
Automatically generates a .gitignore file with common rules, no interaction required.
Usage
Run in your project directory: npm init ignore The tool will immediately generate a .gitignore file with common ignore rules, requiring no user input.
Included Rules
The generated .gitignore file includes rules for:
- Operating system files (Windows, macOS, Linux)
- Common editor/IDE files (VS Code, IntelliJ, Sublime, etc.)
- Node.js dependencies and build artifacts
- Environment variables and sensitive information files
- Logs and temporary files
Handling Existing Files
If a .gitignore file already exists in the project, the tool will:
- Preserve the existing content
- Add the common rules to the top of the file
License
MIT
