Ross ROSS = Recommend OSS · open-source software intelligence for agents

supermacro/neverthrow

Some data may be outdated — see provenance labels.

Type-Safe Errors for JS & TypeScript observed · 2026-09-30

github.com/supermacro/neverthrow · TypeScript · MIT (permissive) observed · 2026-09-30

Health v2 · maintenance only

56/100

  • Activity 59
  • Release rhythm 28
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 60.0
  • age_days: 2732
  • days_rel: 606
  • days_push: 248
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

7727 stars · 151 forks observed · 2026-09-30

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

neverthrow is a TypeScript library providing a type-safe Result type (Ok/Err) for error handling without exceptions, inspired by Rust. It includes ResultAsync, a thenable wrapper for handling asynchronous errors with the same fluent API.

Use cases

  • handle errors without try/catch in typescript
  • return errors as values instead of throwing exceptions
  • type-safe error handling for async functions
  • chain fallible operations with map and andThen
  • combine multiple results into one
  • wrap promises into result types

When to choose

  • you want explicit, compiler-enforced error handling in TypeScript
  • you prefer functional programming style over exceptions
  • you need ergonomic async error handling with thenable Results

When to avoid

  • your codebase relies heavily on exception-based error handling
  • you want a zero-dependency minimal Result with no extra API surface
  • your team is unfamiliar with functional programming patterns

Facets

library · maturity active

error-handling type-system developer-tools web-development programming-languages browser bun cross-platform result-type functional-programming typescript rust-inspired npm-package nodejs deno

2 sources

Member repositories

RepositoryRoleHealth v2
supermacro/neverthrowmain56

For agents

markdown · JSON · MCP: product_card(name="supermacro/neverthrow")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem