neverthrow alternatives
8 packages that do the same job as neverthrow: fp-ts, true-myth, type-fest, tsutils, typical, utility-types, ts-toolbelt, just-diff. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| neverthrow This package | 2m | +159% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| fp-ts | 3.3m | +17% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| true-myth | 501.2k | +65% | - | 0 | 4 months ago | ESM only | Bundled | - |
| type-fest | 285.1m | +47% | - | 1 | 7 days ago | ESM only | Bundled | - |
| tsutils | 16.1m | -17% | - | 1 | 5 years ago | - | None | - |
| typical | 10.2m | +85% | - | 0 | 1 year ago | ESM + CommonJS | None | - |
| utility-types | 7.8m | +125% | - | 0 | 2 years ago | CommonJS | Bundled | - |
| ts-toolbelt | 7.1m | +88% | - | 0 | 5 years ago | CommonJS | Bundled | - |
| just-diff | 4.6m | +50% | - | 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 neverthrow
- 1.7x more weekly downloads (3.3m vs 2m)
- Declares no Node.js engine range vs Node.js >=18
- Last release 18 Aug 2025 vs 21 Feb 2025
- 1.5x more GitHub stars (11.6k vs 7.7k)
A library for safe functional programming in JavaScript, with first-class support for TypeScript
Compared with neverthrow
- 3.9x fewer weekly downloads (501.2k vs 2m)
- ESM only vs ESM + CommonJS
- Declares Node.js 18.* || >= 20.* vs Node.js >=18
- Last release 25 May 2026 vs 21 Feb 2025
- 5.7x fewer GitHub stars (1.4k vs 7.7k)
A collection of essential TypeScript types
Compared with neverthrow
- 145x more weekly downloads (285.1m vs 2m)
- 1 dependency vs 0
- ESM only vs ESM + CommonJS
- Declares Node.js >=20 vs Node.js >=18
- Last release 17 Sept 2026 vs 21 Feb 2025
- 2.3x more GitHub stars (17.4k vs 7.7k)
utilities for working with typescript's AST
Compared with neverthrow
- 8.2x more weekly downloads (16.1m vs 2m)
- 1 dependency vs 0
- - vs ESM + CommonJS
- No types vs bundled types
- Declares Node.js >= 6 vs Node.js >=18
- Last release 7 Mar 2021 vs 21 Feb 2025
- 23x fewer GitHub stars (331 vs 7.7k)
Isomorphic, functional type-checking for Javascript
Compared with neverthrow
- 5.2x more weekly downloads (10.2m vs 2m)
- No types vs bundled types
- Declares Node.js >=12.17 vs Node.js >=18
- Last release 12 Nov 2024 vs 21 Feb 2025
- 309x fewer GitHub stars (25 vs 7.7k)
Utility Types Collection for TypeScript
Compared with neverthrow
- 4.0x more weekly downloads (7.8m vs 2m)
- CommonJS vs ESM + CommonJS
- Declares Node.js >= 4 vs Node.js >=18
- Last release 18 Jan 2024 vs 21 Feb 2025
- 1.3x fewer GitHub stars (5.8k vs 7.7k)
TypeScript's largest utility library
Compared with neverthrow
- 3.6x more weekly downloads (7.1m vs 2m)
- CommonJS vs ESM + CommonJS
- Declares no Node.js engine range vs Node.js >=18
- Last release 10 Mar 2021 vs 21 Feb 2025
- 1.1x fewer GitHub stars (7.2k vs 7.7k)
Return an object representing the diffs between two objects. Supports jsonPatch protocol
Compared with neverthrow
- 2.3x more weekly downloads (4.6m vs 2m)
- Declares no Node.js engine range vs Node.js >=18
- Last release 26 Mar 2023 vs 21 Feb 2025
- 1.2x fewer GitHub stars (6.2k vs 7.7k)
Indexability: Indexed.