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

supermacro/neverthrow

Type-Safe Errors for JS & TypeScript observed · 2026-08-28

github.com/supermacro/neverthrow · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

64/100

  • Activity 67
  • Release rhythm 40
  • Longevity 100
How is this computed?

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

  • gap_med: 22.5
  • age_days: 2684
  • days_rel: 558
  • days_push: 200
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

7689 stars · 152 forks observed · 2026-08-28

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/neverthrowmain64

For agents

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

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem