Skip to content
JS
Comparison

neverthrow vs true-myth

TypeScript toolingPackage data 25 Sept 2026
neverthrowv8.2.0, 21 Feb 2025

Stop throwing errors, and instead return Results!

$ npm install neverthrow
true-mythv9.4.0, 25 May 2026

A library for safe functional programming in JavaScript, with first-class support for TypeScript

$ npm install true-myth
Metricneverthrowtrue-mythDifference
Weekly downloads1,970,221501,214neverthrow 3.9x higher
12-month download growth+159%+65%neverthrow +94 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size110 kB857 kBneverthrow 7.8x smaller
Latest release8.2.0, 21 Feb 20259.4.0, 25 May 2026true-myth 15 months more recent
Releases, last 12 months04true-myth 4 more
First published28 Apr 201928 Sept 2017true-myth 19 months earlier
GitHub stars7,7231,365neverthrow 5.7x higher
Open issues507neverthrow 43 more
Open pull requests339neverthrow 24 more
Contributors---
Commits, last 52 weeks2343true-myth 171.5x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM onlyDiffers
Runtimes---
LicenseMITMITSame

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
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

neverthrow

Major versions
  1. 0.1.028 Apr 2019
  2. 1.0.029 Apr 2019
  3. 2.0.110 Nov 2019
  4. 3.0.020 Nov 2020
  5. 4.0.015 Jan 2021
  6. 5.0.028 Jul 2022
  7. 6.0.011 Dec 2022
  8. 7.0.017 Jul 2024
  9. 8.0.08 Sept 2024
Last 5 releases
  1. 8.2.021 Feb 2025
  2. 8.1.125 Oct 2024
  3. 8.1.023 Oct 2024
  4. 8.0.08 Sept 2024
  5. 7.2.07 Sept 2024
54 releases in total, 0 in the last 12 months

true-myth

Major versions
  1. 0.1.028 Sept 2017
  2. 1.0.01 Nov 2017
  3. 2.0.018 May 2018
  4. 3.0.017 May 2019
  5. 4.0.018 Dec 2019
  6. 5.0.028 Nov 2021
  7. 6.0.025 May 2022
  8. 7.0.015 Jul 2023
  9. 8.0.011 Aug 2024
  10. 9.0.016 Apr 2025
Last 5 releases
  1. 9.4.025 May 2026
  2. 9.3.125 Nov 2025
  3. 9.3.025 Nov 2025
  4. 9.2.027 Sept 2025
  5. 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.

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.