Skip to content
JS
Package

diff-cover

A Tool to Show Code Coverage for Modified Lines in a Diff

v2.0.5, 27 Jan 2026MITESM onlyTypes: NoneTestingBundlers
$ npm install diff-cover

Key numbers

As of 25 Sept 2026
Weekly downloads
10.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
13
Direct, from package.json
Last release
7 months ago
v2.0.5
GitHub stars
41
1 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
31

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 138.9k (18 Aug 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

10,758 downloads last week, 62,209 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
2.0.5, 27 Jan 20267 months ago
First published
-
Last push to GitHub
19 May 2026128 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
31
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
79 kB
Dependencies (13)
xpathnunjuckscommanderjschardetminimatch@iarna/tomlhighlight.js@xmldom/xmldom@types/nunjucks@types/commander@types/minimatch@types/iarna__toml@types/highlight.js
Peer dependencies (1)
typescript
npm install diff-cover
  • jsDelivrhttps://cdn.jsdelivr.net/npm/diff-cover@2.0.5/
  • unpkghttps://unpkg.com/diff-cover@2.0.5/
  • esm.shhttps://esm.sh/diff-cover@2.0.5
PackageWeekly downloadsGzipLast releaseModuleComparison
@temporalio/nyc-test-coverage121.2k-10 days agoCommonJS-
tinyspy36.2m-20 days agoESM only-
@golevelup/ts-jest382.5k-6 months agoCommonJS-
ts-jest19.3m-1 day agoCommonJS-
@golevelup/ts-sinon9.2k-6 months agoCommonJS-
@golevelup/ts-vitest72.7k-6 months agoESM only-
@testdeck/core11.9k-3 years agoCommonJS-
wiremock-captain55.6k-10 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.