View on GitHub

Go-style error handling for TypeScript

Handle errors elegantly without try-catch blocks, using a functional approach that's both type-safe and intuitive. Zero dependencies, tree-shakeable, and optimized for production.

Type-Safe

Full TypeScript support with proper type inference and error handling

Zero Dependencies

Lightweight and tree-shakeable with no external dependencies

Unified API

Consistent error handling for both sync and async operations