A TypeScript ecosystem for Rust-style Result<T, E> error handling without exceptions.
antithrow helps you model failure paths explicitly so error handling is type-safe, composable,
and visible at compile time.
- Keep the happy path readable while still handling failures early.
- Encode all failure variants in the type system.
- Compose sync and async pipelines with the same mental model.
- Interoperate with throw-based code via
Result.try(...).
antithrow- CoreResult,Ok/Err/Pending, and associated utilities.@antithrow/std- Non-throwing wrappers around standard globals (fetch,JSON,atob, etc.).@antithrow/node- Non-throwing wrappers around Node.js APIs (fs/promises, etc.).@antithrow/standard-schema- Bridge Standard Schema validators (Zod, Valibot, ArkType, etc.) to antithrow Results.@antithrow/eslint-plugin- ESLint rules for antithrow Result types.