vultix/ts-results
A typescript implementation of Rust's Result object. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 2759
- days_rel: n/a
- days_push: 870
- n_releases_24m: 0
Adoption not part of the score
1407 stars · 75 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library implementing Rust's Result and Option types, bringing compile-time error checking and explicit optional values to TypeScript. It provides Ok/Err and Some/None variants with combinators like map, andThen, and Result.all, plus rxjs integration helpers.
Use cases
- handle errors without exceptions in typescript
- make nullable values explicit with an Option type
- force callers to check for failure at compile time
- chain fallible operations with map and andThen
- combine multiple results with Result.all or Result.any
- replace string | undefined returns with typed optionals
When to choose
- you want Rust-style explicit error handling in a TypeScript codebase
- your team wants compile-time enforcement of error and null checks
- you use rxjs and want result-aware operators
When to avoid
- you prefer idiomatic TypeScript with exceptions and union types
- your project is very small and the extra abstraction adds overhead
- you need a full functional programming toolkit rather than just Result/Option
Facets
library · maturity stable
error-handling type-system developer-tools programming-languages web-development cross-platform rust-result option-type typescript monad typed-errors functional-programming nodejs
2 sources
- readme: https://github.com/vultix/ts-results · fetched 2026-08-28 · d246fc517810
- registry_npm: https://registry.npmjs.org/ts-results · fetched 2026-08-29 · 8bd4344e732e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vultix/ts-results | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="vultix/ts-results")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem