Package
just-diff
Return an object representing the diffs between two objects. Supports jsonPatch protocol
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.6m
- +50% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 3 years ago
- v6.0.2
- GitHub stars
- 6.2k
- 210 forks
- Open issues / PRs
- 37 / 24
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,599,004 downloads last week, 22,288,510 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 024 in total
- Latest version
- 6.0.2, 26 Mar 20233 years ago
- First published
- 9 Jul 2017
- Last push to GitHub
- 11 Feb 2024956 days before the snapshot
- Repository archived
- No
- Open issues
- 37
- Open pull requests
- 24
- Commits, last 52 weeks
- 0
- Dependents on npm
- -
Major versions
- v6 first release 6.0.0, 12 Mar 2023
- v5 first release 5.0.0, 9 Nov 2021
- v4 first release 4.0.0, 22 Oct 2021
- v3 first release 3.0.0, 25 Jun 2019
- v2 first release 2.0.0, 23 Jul 2017
- v1 first release 1.0.0, 9 Jul 2017
Recent releases
| Version | Published |
|---|---|
| 6.0.2 | 26 Mar 2023 |
| 6.0.0 | 12 Mar 2023 |
| 5.2.0 | 17 Dec 2022 |
| 5.1.1 | 8 Aug 2022 |
| 5.1.0 | 7 Aug 2022 |
| 5.0.3 | 5 Jun 2022 |
| 5.0.2 | 30 Apr 2022 |
| 5.0.1 | 13 Nov 2021 |
| 5.0.0 | 9 Nov 2021 |
| 4.1.2 | 1 Nov 2021 |
| 4.1.0 | 31 Oct 2021 |
| 4.0.0 | 22 Oct 2021 |
| 3.1.1 | 4 Apr 2021 |
| 3.1.0 | 4 Apr 2021 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 18 kB
- Dependencies (0)
- None
npm install just-diff- jsDelivr
https://cdn.jsdelivr.net/npm/just-diff@6.0.2/ - unpkg
https://unpkg.com/just-diff@6.0.2/ - esm.sh
https://esm.sh/just-diff@6.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @pivanov/utils | 299.5k | - | 26 days ago | ESM + CommonJS | - |
| type-fest | 285.1m | - | 7 days ago | ESM only | type-fest vs just-diff |
| tsutils | 16.1m | - | 5 years ago | - | - |
| utility-types | 7.8m | - | 2 years ago | CommonJS | utility-types vs just-diff |
| tsafe | 811.9k | - | 11 months ago | ESM + CommonJS | - |
| true-myth | 501.2k | - | 4 months ago | ESM only | just-diff vs true-myth |
| emery | 92.7k | - | 1 year ago | ESM + CommonJS | - |
| type-plus | 46.9k | - | 2 years ago | ESM + CommonJS | - |
Related
Indexability: Indexed.