Skip to content
JS
Package

unidiff

diff with unified diff format handling

v1.0.4, 2 Jun 2023MITCommonJSTypes: None
$ npm install unidiff

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (18 Aug 2026)Low 189.4k (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.

922,178 downloads last week, 4,762,370 in the last month. The 12-month change of +241% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
1.0.4, 2 Jun 20233 years ago
First published
14 Jun 2016
Last push to GitHub
2 Jun 20231,210 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v1 first release 1.0.1, 14 Dec 2018
  2. v0 first release 0.0.1, 14 Jun 2016

Recent releases

VersionPublished
1.0.42 Jun 2023
1.0.32 Jun 2023
1.0.211 May 2019
1.0.114 Dec 2018
0.0.414 Jun 2016
0.0.314 Jun 2016
0.0.214 Jun 2016
0.0.114 Jun 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (1)
diff
npm install unidiff
  • jsDelivrhttps://cdn.jsdelivr.net/npm/unidiff@1.0.4/
  • unpkghttps://unpkg.com/unidiff@1.0.4/
  • esm.shhttps://esm.sh/unidiff@1.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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