Skip to content
JS
Package

dotgitignore

find the closest .gitignore file, parse it, and apply ignore rules

v2.1.0, 16 Mar 2019ISCCommonJSTypes: None
$ npm install dotgitignore

Key numbers

As of 25 Sept 2026
Weekly downloads
656.6k
+5% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 years ago
v2.1.0
GitHub stars
7
5 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 992.5k (16 Jun 2026)Low 321.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

656,559 downloads last week, 3,021,719 in the last month. The 12-month change of +5% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
2.1.0, 16 Mar 20197 years ago
First published
2 Jan 2018
Last push to GitHub
14 Oct 20192,537 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 12 Dec 2018
  2. v1 first release 1.0.0, 2 Jan 2018

Recent releases

VersionPublished
2.1.016 Mar 2019
2.0.012 Dec 2018
1.0.33 Jan 2018
1.0.23 Jan 2018
1.0.12 Jan 2018
1.0.02 Jan 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
6.5 kB
Dependencies (2)
find-upminimatch
npm install dotgitignore
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dotgitignore@2.1.0/
  • unpkghttps://unpkg.com/dotgitignore@2.1.0/
  • esm.shhttps://esm.sh/dotgitignore@2.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.