ts-essentials alternatives
8 packages that do the same job as ts-essentials: type-plus, ts-toolbelt, type-fest, utility-types, tsutils, typical, just-diff, just-diff-apply. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| ts-essentials This package | 4.2m | +64% | - | 0 | 3 months ago | CommonJS | Bundled | - |
| type-plus | 46.9k | +72% | - | 2 | 2 years ago | ESM + CommonJS | Bundled | - |
| ts-toolbelt | 7.1m | +88% | - | 0 | 5 years ago | CommonJS | Bundled | - |
| type-fest | 285.1m | +47% | - | 1 | 7 days ago | ESM only | Bundled | - |
| utility-types | 7.8m | +125% | - | 0 | 2 years ago | CommonJS | Bundled | - |
| tsutils | 16.1m | -17% | - | 1 | 5 years ago | - | None | - |
| typical | 10.2m | +85% | - | 0 | 1 year ago | ESM + CommonJS | None | - |
| just-diff | 4.6m | +50% | - | 0 | 3 years ago | ESM + CommonJS | Bundled | - |
| just-diff-apply | 4.4m | +47% | - | 0 | 3 years ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Provides additional types for TypeScript.
Compared with ts-essentials
- 91x fewer weekly downloads (46.9k vs 4.2m)
- 2 dependencies vs 0
- ESM + CommonJS vs CommonJS
- Last release 10 Mar 2024 vs 3 Jun 2026
- 9.9x fewer GitHub stars (413 vs 4.1k)
TypeScript's largest utility library
Compared with ts-essentials
- 1.7x more weekly downloads (7.1m vs 4.2m)
- Last release 10 Mar 2021 vs 3 Jun 2026
- 1.8x more GitHub stars (7.2k vs 4.1k)
A collection of essential TypeScript types
Compared with ts-essentials
- 67x more weekly downloads (285.1m vs 4.2m)
- 1 dependency vs 0
- ESM only vs CommonJS
- Declares Node.js >=20 vs none declared
- Last release 17 Sept 2026 vs 3 Jun 2026
- 4.3x more GitHub stars (17.4k vs 4.1k)
Utility Types Collection for TypeScript
Compared with ts-essentials
- 1.8x more weekly downloads (7.8m vs 4.2m)
- Declares Node.js >= 4 vs none declared
- Last release 18 Jan 2024 vs 3 Jun 2026
- 1.4x more GitHub stars (5.8k vs 4.1k)
utilities for working with typescript's AST
Compared with ts-essentials
- 3.8x more weekly downloads (16.1m vs 4.2m)
- 1 dependency vs 0
- - vs CommonJS
- No types vs bundled types
- Declares Node.js >= 6 vs none declared
- Last release 7 Mar 2021 vs 3 Jun 2026
- 12x fewer GitHub stars (331 vs 4.1k)
Isomorphic, functional type-checking for Javascript
Compared with ts-essentials
- 2.4x more weekly downloads (10.2m vs 4.2m)
- ESM + CommonJS vs CommonJS
- No types vs bundled types
- Declares Node.js >=12.17 vs none declared
- Last release 12 Nov 2024 vs 3 Jun 2026
- 163x fewer GitHub stars (25 vs 4.1k)
Return an object representing the diffs between two objects. Supports jsonPatch protocol
Compared with ts-essentials
- 1.1x more weekly downloads (4.6m vs 4.2m)
- ESM + CommonJS vs CommonJS
- Last release 26 Mar 2023 vs 3 Jun 2026
- 1.5x more GitHub stars (6.2k vs 4.1k)
Apply a diff to an object. Optionally supports jsonPatch protocol
Compared with ts-essentials
- About the same weekly downloads (4.4m vs 4.2m)
- ESM + CommonJS vs CommonJS
- Last release 17 Dec 2022 vs 3 Jun 2026
- 1.5x more GitHub stars (6.2k vs 4.1k)
Indexability: Indexed.