true-myth alternatives
8 packages that do the same job as true-myth: fp-ts, type-fest, typical, ts-toolbelt, just-diff, just-diff-apply, neverthrow, just-curry-it. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| true-myth This package | 501.2k | +65% | - | 0 | 4 months ago | ESM only | Bundled | - |
| fp-ts | 3.3m | +17% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| type-fest | 285.1m | +47% | - | 1 | 7 days ago | ESM only | Bundled | - |
| typical | 10.2m | +85% | - | 0 | 1 year ago | ESM + CommonJS | None | - |
| ts-toolbelt | 7.1m | +88% | - | 0 | 5 years ago | CommonJS | Bundled | - |
| 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 | - |
| neverthrow | 2m | +159% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| just-curry-it | 729.3k | +56% | - | 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.
Functional programming in TypeScript
Compared with true-myth
- 6.6x more weekly downloads (3.3m vs 501.2k)
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js 18.* || >= 20.*
- Last release 18 Aug 2025 vs 25 May 2026
- 8.5x more GitHub stars (11.6k vs 1.4k)
A collection of essential TypeScript types
Compared with true-myth
- 569x more weekly downloads (285.1m vs 501.2k)
- 1 dependency vs 0
- Declares Node.js >=20 vs Node.js 18.* || >= 20.*
- Last release 17 Sept 2026 vs 25 May 2026
- 13x more GitHub stars (17.4k vs 1.4k)
Isomorphic, functional type-checking for Javascript
Compared with true-myth
- 20x more weekly downloads (10.2m vs 501.2k)
- ESM + CommonJS vs ESM only
- No types vs bundled types
- Declares Node.js >=12.17 vs Node.js 18.* || >= 20.*
- Last release 12 Nov 2024 vs 25 May 2026
- 55x fewer GitHub stars (25 vs 1.4k)
TypeScript's largest utility library
Compared with true-myth
- 14x more weekly downloads (7.1m vs 501.2k)
- CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js 18.* || >= 20.*
- Last release 10 Mar 2021 vs 25 May 2026
- 5.2x more GitHub stars (7.2k vs 1.4k)
Return an object representing the diffs between two objects. Supports jsonPatch protocol
Compared with true-myth
- 9.2x more weekly downloads (4.6m vs 501.2k)
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js 18.* || >= 20.*
- Last release 26 Mar 2023 vs 25 May 2026
- 4.5x more GitHub stars (6.2k vs 1.4k)
Apply a diff to an object. Optionally supports jsonPatch protocol
Compared with true-myth
- 8.8x more weekly downloads (4.4m vs 501.2k)
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js 18.* || >= 20.*
- Last release 17 Dec 2022 vs 25 May 2026
- 4.5x more GitHub stars (6.2k vs 1.4k)
Stop throwing errors, and instead return Results!
Compared with true-myth
- 3.9x more weekly downloads (2m vs 501.2k)
- ESM + CommonJS vs ESM only
- Declares Node.js >=18 vs Node.js 18.* || >= 20.*
- Last release 21 Feb 2025 vs 25 May 2026
- 5.7x more GitHub stars (7.7k vs 1.4k)
return a curried function
Compared with true-myth
- 1.5x more weekly downloads (729.3k vs 501.2k)
- ESM + CommonJS vs ESM only
- Declares no Node.js engine range vs Node.js 18.* || >= 20.*
- Last release 17 Dec 2022 vs 25 May 2026
- 4.5x more GitHub stars (6.2k vs 1.4k)
Indexability: Indexed.