Skip to content
JS
Alternatives

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.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
neverthrow
This package
2m+159%-01 year agoESM + CommonJSBundled-
fp-ts3.3m+17%-01 year agoESM + CommonJSBundled-
true-myth501.2k+65%-04 months agoESM onlyBundled-
type-fest285.1m+47%-17 days agoESM onlyBundled-
tsutils16.1m-17%-15 years ago-None-
typical10.2m+85%-01 year agoESM + CommonJSNone-
utility-types7.8m+125%-02 years agoCommonJSBundled-
ts-toolbelt7.1m+88%-05 years agoCommonJSBundled-
just-diff4.6m+50%-03 years agoESM + CommonJSBundled-

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)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.