neverthrowv8.2.0, 21 Feb 2025
Stop throwing errors, and instead return Results!
$ npm install neverthrowtrue-mythv9.4.0, 25 May 2026
A library for safe functional programming in JavaScript, with first-class support for TypeScript
$ npm install true-myth| Metric | neverthrow | true-myth | Difference |
|---|---|---|---|
| Weekly downloads | 1,970,221 | 501,214 | neverthrow 3.9x higher |
| 12-month download growth | +159% | +65% | neverthrow +94 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 0 | Same |
| Unpacked size | 110 kB | 857 kB | neverthrow 7.8x smaller |
| Latest release | 8.2.0, 21 Feb 2025 | 9.4.0, 25 May 2026 | true-myth 15 months more recent |
| Releases, last 12 months | 0 | 4 | true-myth 4 more |
| First published | 28 Apr 2019 | 28 Sept 2017 | true-myth 19 months earlier |
| GitHub stars | 7,723 | 1,365 | neverthrow 5.7x higher |
| Open issues | 50 | 7 | neverthrow 43 more |
| Open pull requests | 33 | 9 | neverthrow 24 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 2 | 343 | true-myth 171.5x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM + CommonJS | ESM only | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
neverthrow2m latest weektrue-myth501.2k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
neverthrow
Major versions
- 0.1.028 Apr 2019
- 1.0.029 Apr 2019
- 2.0.110 Nov 2019
- 3.0.020 Nov 2020
- 4.0.015 Jan 2021
- 5.0.028 Jul 2022
- 6.0.011 Dec 2022
- 7.0.017 Jul 2024
- 8.0.08 Sept 2024
Last 5 releases
- 8.2.021 Feb 2025
- 8.1.125 Oct 2024
- 8.1.023 Oct 2024
- 8.0.08 Sept 2024
- 7.2.07 Sept 2024
54 releases in total, 0 in the last 12 months
true-myth
Major versions
- 0.1.028 Sept 2017
- 1.0.01 Nov 2017
- 2.0.018 May 2018
- 3.0.017 May 2019
- 4.0.018 Dec 2019
- 5.0.028 Nov 2021
- 6.0.025 May 2022
- 7.0.015 Jul 2023
- 8.0.011 Aug 2024
- 9.0.016 Apr 2025
Last 5 releases
- 9.4.025 May 2026
- 9.3.125 Nov 2025
- 9.3.025 Nov 2025
- 9.2.027 Sept 2025
- 9.1.025 Aug 2025
85 releases in total, 4 in the last 12 months
neverthrow
-
true-myth
-
neverthrow
-
true-myth
-
- Need no runtime dependenciesBoth
- Need both ESM and CommonJS entry pointsneverthrow (neverthrow: ESM + CommonJS; true-myth: ESM only)
- Need to load it with require()neverthrow
- Need TypeScript types in the package itselfBoth
- Node.js version requirementneverthrow: >=18; true-myth: 18.* || >= 20.* (engines field in package.json)
- Need the more recent releasetrue-myth (9.4.0 on 25 May 2026 vs 8.2.0 on 21 Feb 2025)
- Higher weekly npm downloadsneverthrow (2m vs 501.2k)
Each line is generated from the data above.
- fp-ts vs neverthrowNo search data
- fp-ts vs true-mythNo search data
- just-diff vs true-mythNo search data
- ts-toolbelt vs true-mythNo search data
- type-fest vs true-mythNo search data
neverthrow: neverthrow npm registry, neverthrow npm downloads, neverthrow GitHub. Data fetched 25 Sept 2026.
true-myth: true-myth npm registry, true-myth npm downloads, true-myth GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.