npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

init-gitignore

v1.0.2

Published

Because making git ignore files should be easier.

Downloads

49

Readme

See

Overview

Often, you’ll have a class of files that you don’t want Git to automatically add or even show you as being untracked. These are generally automatically generated files such as log files or files produced by your build system. In such cases, you can create a file listing patterns to match them named .gitignore.

Read more about .gitignore files on the manual page.

🙊 All .gitignore templates are from the Github Project: gitignore.

Install

$ npm install init-gitignore

Usage

Eg: macOS

const initGitignore = require('init-gitignore');

initGitignore.macOS();

Result .gitignore

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon
...

Eg: Node

const initGitignore = require('init-gitignore');

initGitignore.Node();

Result .gitignore

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
...

API

<gitignoreNameFromTemplate>()

Create a .gitignore file with git template

Templates

Project specific, such as language or framework specific templates.

  • Actionscript
  • Ada
  • Agda
  • Android
  • AppEngine
  • AppceleratorTitanium
  • ArchLinuxPackages
  • Autotools
  • cpp
  • c
  • CFWheels
  • CMake
  • cuda
  • CakePHP
  • ChefCookbook
  • Clojure
  • CodeIgniter
  • CommonLisp
  • Composer
  • Concrete5
  • Coq
  • CraftCMS
  • d
  • dm
  • Dart
  • Delphi
  • Drupal
  • EPiServer
  • Eagle
  • Elisp
  • Elixir
  • Elm
  • Erlang
  • ExpressionEngine
  • ExtJs
  • Fancy
  • Finale
  • ForceDotCom
  • Fortran
  • FuelPHP
  • gwt
  • Gcov
  • GitBook
  • Go
  • Godot
  • Gradle
  • Grails
  • Haskell
  • IGORPro
  • Idris
  • Java
  • Jboss
  • Jekyll
  • Joomla
  • Julia
  • KiCad
  • Kohana
  • Kotlin
  • LabVIEW
  • Laravel
  • Leiningen
  • LemonStand
  • Lilypond
  • Lithium
  • Lua
  • Magento
  • Maven
  • Mercury
  • MetaProgrammingSystem
  • Nanoc
  • Nim
  • Node
  • OCaml
  • ObjectiveC
  • Opa
  • OpenCart
  • OracleForms
  • Packer
  • Perl
  • Perl6
  • Phalcon
  • PlayFramework
  • Plone
  • Prestashop
  • Processing
  • PureScript
  • Python
  • Qooxdoo
  • Qt
  • r
  • ros
  • Rails
  • RhodesRhomobile
  • Ruby
  • Rust
  • SCons
  • Sass
  • Scala
  • Scheme
  • Scrivener
  • Sdcc
  • SeamGen
  • SketchUp
  • Smalltalk
  • Stella
  • SugarCRM
  • Swift
  • Symfony
  • SymphonyCMS
  • TeX
  • Terraform
  • Textpattern
  • TurboGears2
  • Typo3
  • Umbraco
  • Unity
  • UnrealEngine
  • vvvv
  • VisualStudio
  • Waf
  • WordPress
  • Xojo
  • Yeoman
  • Yii
  • ZendFramework
  • Zephir

Global (operating system or editor specific) templates.

  • Anjuta
  • Ansible
  • Archives
  • Backup
  • Bazaar
  • BricxCC
  • cvs
  • Calabash
  • Cloud9
  • CodeKit
  • DartEditor
  • Dreamweaver
  • Dropbox
  • Eclipse
  • EiffelStudio
  • Emacs
  • Ensime
  • Espresso
  • FlexBuilder
  • gpg
  • JDeveloper
  • JEnv
  • JetBrains
  • KDevelop4
  • Kate
  • Lazarus
  • LibreOffice
  • Linux
  • LyX
  • Matlab
  • Mercurial
  • MicrosoftOffice
  • ModelSim
  • Momentics
  • MonoDevelop
  • NetBeans
  • Ninja
  • NotepadPP
  • Otto
  • Patch
  • Redcar
  • Redis
  • sbt
  • svn
  • SlickEdit
  • Stata
  • SublimeText
  • SynopsysVCS
  • Tags
  • TextMate
  • TortoiseGit
  • Vagrant
  • Vim
  • VirtualEnv
  • VisualStudioCode
  • WebMethods
  • Windows
  • Xcode
  • XilinxISE
  • macOS

Related

Team

|Carlos Abraham Logo| | :-: | | Carlos Abraham |

License

MIT License © Carlos Abraham