Skip to content
JS
Package

dir-compare

Node JS directory compare

v5.0.0, 4 May 2024MITCommonJSTypes: Bundled
$ npm install dir-compare

Key numbers

As of 25 Sept 2026
Weekly downloads
4.5m
+406% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
2 years ago
v5.0.0
GitHub stars
204
12 forks
Open issues / PRs
6 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.3m (25 Aug 2026)Low 693.1k (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.

4,453,852 downloads last week, 20,038,434 in the last month. The 12-month change of +406% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
038 in total
Latest version
5.0.0, 4 May 20242 years ago
First published
28 Dec 2014
Last push to GitHub
5 Sept 2024750 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v5 first release 5.0.0, 4 May 2024
  2. v4 first release 4.0.0, 24 Dec 2021
  3. v3 first release 3.0.0, 26 Jan 2021
  4. v2 first release 2.0.0, 11 Jan 2020
  5. v1 first release 1.0.0, 20 Feb 2016
  6. v0 first release 0.0.1, 28 Dec 2014

Recent releases

VersionPublished
5.0.04 May 2024
4.2.020 Aug 2023
4.1.013 Aug 2023
4.0.024 Dec 2021
3.3.012 May 2021
3.2.03 May 2021
3.1.511 Mar 2021
3.1.410 Mar 2021
3.1.310 Mar 2021
3.1.210 Mar 2021
3.1.110 Mar 2021
3.1.010 Mar 2021
3.0.026 Jan 2021
2.4.013 Nov 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
202 kB
Dependencies (2)
p-limitminimatch
npm install dir-compare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dir-compare@5.0.0/
  • unpkghttps://unpkg.com/dir-compare@5.0.0/
  • esm.shhttps://esm.sh/dir-compare@5.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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