diff
A JavaScript text diff implementation.
diff@9.0.0 was published on 2026-04-13. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=0.3.1.
All diff versions · Permanent reference to 9.0.0
Package specifications
| Version | 9.0.0 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2026-04-13T12:39:24.498Z |
| Node.js requirement | >=0.3.1 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 0 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | 22.04 KiB |
| Minified + gzip | 7.76 KiB |
| Unpacked distribution size | 601.17 KiB |
| Published file count | 136 |
| Package type | module |
| ES module entry | ./libesm/index.js |
| Default entry | ./libcjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | Unknown |
| Repository stars | 9213 |
| Repository forks | 556 |
Install diff 9.0.0
npm install diff@9.0.0 pnpm add diff@9.0.0 yarn add diff@9.0.0
Runtime dependencies
- None declared
Peer requirements
- None declared
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 1/10 — Found 3/29 approved changesets -- score normalized to 1 |
|---|---|
| Maintained | 7/10 — 5 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 7 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/diff/9.0.0 — retrieved 2026-10-29T04:07:34.701Z (stale snapshot; refresh pending)
- https://bundlephobia.com/api/size?package=diff%409.0.0 — retrieved 2026-10-29T01:07:16.647Z
- https://api.deps.dev/v3/systems/npm/packages/diff/versions/9.0.0 — retrieved 2026-10-29T02:06:32.896Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fkpdecker%2Fjsdiff — retrieved 2026-10-29T01:07:17.737Z