neverthrow
Reasonable, with limits. 6th of 9 typed errors and functional programming.
neverthrow is a small, zero-dependency Result/ResultAsync library for TypeScript. It is simple to learn and widely used. It is close to unmaintained, though: there have been no releases since February 2025, only 2 commits in the last year, and the maintainer calls it "feature complete". For new projects it is a reasonable but fading choice, and actively maintained peers such as better-result or Effect are safer bets.
Best for: Teams that want a familiar, Rust-style Result type with chainable methods and accept a library that no longer changes.
Scores
Overall5.9
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
neverthrow still works and is easy to adopt, and many developers and AI agents know it well. But maintenance has nearly stopped, users report bugs that nobody fixes, and better-result offers a similar Result type with active development. Effect is the stronger pick for full typed-error programs. Use it where it already runs or for small projects. For new work, prefer an actively maintained peer.
- github.com/supermacro/neverthrow/issues/670: Maintainer steps back; forks emerging
- peers better-result: An actively maintained Result library with higher downloads
- dev.to/karibash/why-i-reinvented-a-result-type-library-3ko4: Users build replacements because of stagnation and design limits
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
neverthrow remains a practical choice for adding typed errors to an existing TypeScript stack, especially when most chains are short. For a new project with retry-heavy async workflows, True Myth offers more built-in support and has a more active release history. neverthrow’s current API is usable and adoption is growing, but future maintenance remains the biggest uncertainty.
- github.com/supermacro/neverthrow/blob/v8.2.0/README.md: Stable API supports incremental adoption of typed results
- true-myth.dev/guide/understanding/task/retries-and-delays: True Myth provides typed retry policies for async tasks
- github.releasesLastYear, npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, peers: Installs grew strongly during a year without a release
- github.com/supermacro/neverthrow/issues/670: Owner reports limited time for substantive maintenance
Needed by many5.1
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Typed errors as values matter to a sizeable group of TypeScript developers, but most projects still use plain try/catch. neverthrow works on any runtime and framework, so it serves the whole category. Its audience is not narrowed further.
- npm hasTypes: TypeScript-first, runtime-agnostic library
- pkgpulse.com/guides/effect-ts-vs-fp-ts-vs-neverthrow-2026: Positioned as the pragmatic entry point to typed errors
GPT-6.2 Sol: 5.1, likely 3.8 to 6.4
Typed results are useful wherever callers need to distinguish expected failures, such as validation, lookups, and service calls. neverthrow works across frameworks and runtimes, but the main benefit is in TypeScript codebases willing to pass results through their APIs. The State of JavaScript survey measures TypeScript use, so the share of teams that need a dedicated result library remains uncertain.
- 2025.stateofjs.com/en-US/usage: Measures JavaScript and TypeScript use among respondents
- github.com/supermacro/neverthrow/blob/v8.2.0/README.md: Documents framework-independent Result and promise wrappers
- runharbor.com/blog/2025-11-24-why-we-dont-use-effect-ts: Reports friction adopting results in an existing Node stack
Helps a lot6.9
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
It does the core job well: a clear Result API, async support, safeTry generators and an eslint plugin. Its limits are well known. Sync and async types are split, the class-based design is hard to extend, and recent issues report bugs and slow paths that nobody fixes. Newer peers such as better-result and byethrow fix several of these problems.
- dev.to/karibash/why-i-reinvented-a-result-type-library-3ko4: User describes the class-based design and the sync/async split as pain points
- github.com/supermacro/neverthrow/issues: Open 2026 issues: safeTry finally bug, combine performance, missing methods
- pkgpulse.com/guides/effect-ts-vs-fp-ts-vs-neverthrow-2026: Praised for its low learning curve; long chains are hard to debug
GPT-6.2 Sol: 7.7, likely 6.7 to 8.7
Version 8.2.0 has clear examples, typed error unions, recovery, and helpers to return the first failure or collect every failure. Users report awkward early returns and extra work at async and exception-based boundaries. Microbenchmarks are encouraging for simple chains, while evidence on production performance and coding-agent accuracy is limited.
- github.com/supermacro/neverthrow/blob/v8.2.0/README.md: Stable API examples cover chaining, recovery, and aggregation
- github.com/supermacro/neverthrow/issues/677: Reproduces a type mismatch when returning a narrowed Err
- reddit.com/r/rust/comments/1jl6tah: Workplace users report friction with thenables and dependent async steps
- oofp.js.org/reference/benchmarks: Third-party microbenchmarks show fast chains and manual concurrency control
Holds up over time3.6
Will it still be a good choice in two years?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
There were 2 commits and no releases in the last year, and the last release was v8.2.0 in February 2025. In January 2026 the maintainer said he had no time, called the library feature complete and encouraged forks. Users are leaving for forks and new libraries. The small, stable API keeps it working, but it is unlikely to improve.
- github commitsLastYear / releasesLastYear: 2 commits, 0 releases
- github.com/supermacro/neverthrow/issues/670: Maintainer reports little time, calls it feature complete, suggests forks; the super-neverthrow fork was started
- scorecard Maintained: Score 0
GPT-6.2 Sol: 4.2, likely 2.9 to 5.5
The project recorded two commits and zero releases in the last year, and several fixes are still open. The owner considers the core API feature-complete and says time for substantial reviews has been limited. The compact API and two listed code owners help, but future release coverage is uncertain while True Myth and better-result are shipping updates.
- github.commitsLastYear, github.releasesLastYear, github.openPullRequests: Two commits, zero releases, and 39 open pull requests
- github.com/supermacro/neverthrow/issues/670: Owner describes limited review time and a feature-complete core
- github.com/supermacro/neverthrow/pulls: Type inference fixes and API documentation updates are open
- raw.githubusercontent.com/supermacro/neverthrow/master/CODEOWNERS: Lists two code owners
- peers: True Myth and better-result released in 2026 and had more commits
Used widely5.4
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
About 18.8M downloads in the last 4 weeks, against 3.8M a year ago. That ratio of 4.9 is a little above the 4.1 median, so it is still gaining slightly. ecosyste.ms counts 761 dependent repos and 182 packages, and the repo has 7.7k stars. Part of the downloads likely come through other tools that depend on it. better-result and Effect are growing faster.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 18.8M vs 3.8M, ratio 4.9 vs median 4.1
- dependents: 761 repos, 182 packages
- peers better-result downloadsLast4Weeks: 42.8M, up from zero a year ago, overtaking neverthrow
GPT-6.2 Sol: 4.3, likely 3.2 to 5.8
Four-week downloads rose from 3.84 million to 18.82 million, or 4.90× against the catalog median of 4.1×. That suggests a gain in relative use, though Effect and byethrow grew faster. The 761 indexed repositories and 182 indexed packages, alongside known downstream installs and modest social activity, put direct adoption closer to a few thousand projects, with a wide range because the index is partial.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 4.90× year-over-year growth against a 4.1× median
- dependents, peers: More indexed repositories than Purify and fewer than True Myth
- github.stars, bluesky.posts, peers: 7,770 stars and five Bluesky posts, compared with True Myth’s 14 posts
- github.com/farcasterxyz/auth-monorepo/blob/main/packages/auth-client/package.json: A published Farcaster client installs neverthrow transitively
Vouched for5.6
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 3.5 to 6.0
It is the reference point in many independent comparisons, and Effect's own docs include an 'Effect vs neverthrow' migration guide. Users report production use on blogs. No well-known company backs it, and survey data for it is thin. Much of the praise is from 2024 to 2025.
- effect.website/docs/additional-resources/effect-vs-neverthrow: Effect treats neverthrow as the baseline to compare against
- dev.to/_gdelgado/type-safe-error-handling-in-typescript-1p4n/comments: Commenters report using it in production
- pkgpulse.com/guides/effect-ts-vs-fp-ts-vs-neverthrow-2026: Independent 2026 guide recommends it for gradual adoption
GPT-6.2 Sol: 6.1, likely 4.9 to 7.3
Type.com exposes neverthrow v8 in its automation SDK, and Farcaster’s auth client ships with v6. A developer reports better error logging after adopting it in production, while Harbor ended its trial after running into integration costs. That gives a mixed record from real users, with limited survey evidence on retention.
- docs.type.com/automations/reference/sdk: The hosted automation runtime supports Result and ResultAsync
- github.com/farcasterxyz/auth-monorepo/blob/main/packages/auth-client/package.json: Farcaster auth client declares a v6 dependency
- dev.to/caverar/error-handling-and-logging-policy-helper-for-neverthrow-5d2j: Reports better error logging in production apps
- runharbor.com/blog/2025-11-24-why-we-dont-use-effect-ts: Reports ending the trial after framework integration friction
Safe6.6
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has no dependencies, no advisories ever and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is 4.2. It scores 0 on Maintained, Security-Policy, Token-Permissions and Pinned-Dependencies. Few people can publish, and a dormant project would respond slowly to any future issue.
- npm dependencies: 0 runtime dependencies
- advisories total: 0 advisories
- scorecard score: 4.2, with weak Maintained and Security-Policy checks
GPT-6.2 Sol: 6.2, likely 5.0 to 7.5
The MIT-licensed package has no recorded OSV advisories and no required runtime dependencies, though its published manifest lists an optional native Rollup package for Linux x64. Scorecard gives code review full marks but flags missing security policy, weak token permissions, and unpinned dependencies. Releases use Changesets and an npm token in GitHub Actions, and the current publisher count and speed of a future security fix are uncertain.
- advisories, npm.license, npm.dependencies: Zero recorded advisories, MIT licence, and zero required dependencies
- scorecard: 4.2 overall, with zero for Security-Policy, Token-Permissions, and Pinned-Dependencies
- app.unpkg.com/neverthrow@8.2.0/files/package.json: Published manifest lists an optional platform-specific Rollup binary
- raw.githubusercontent.com/supermacro/neverthrow/1d4cc19/.github/workflows/release.yml: Release workflow uses Changesets, an npm token, and version-tagged actions
Good
- A small, easy-to-learn API: Result, ResultAsync, fromThrowable and fromPromise, with chainable map/andThen methods.
- No runtime dependencies, bundled types, an MIT licence and no known advisories.
- safeTry offers generator-based early returns, and eslint-plugin-neverthrow catches unhandled Results.
- Many tutorials, comparisons and existing codebases use it, so AI agents write correct code for it.
Bad
- There has been no release since v8.2.0 (February 2025), and there are 39 open PRs, many of them unreviewed.
- The separate sync and async types (Result vs ResultAsync, ok vs okAsync) make mixed code awkward.
- The class-based design is hard to extend, and users report bugs such as safeTry skipping finally blocks.
- Only one person is active on releases, and the maintainer suggests forking for new features.
The numbers
- npm downloads, 4 weeks
- 19M ×4.9 in a year
- GitHub stars
- 7.8k
- Commits, 12 months
- 2
- npm version
- 8.2.0 Feb 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.2 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (supermacro/neverthrow), npm (neverthrow), OSV and the OpenSSF Scorecard.