π²
π² Tree-shakable
Only include what you use. Lightweight and optimized for modern bundlers.
Tree-shakable error handling with functional programming approach
npm install @praha/byethrow

Only include what you use. Lightweight and optimized for modern bundlers.
No classes, no magicβjust plain objects with consistent API design.
Works seamlessly with both Result<T, E> and Promise<Result<T, E>>.
Result-centric utilities without unnecessary aliases or confusing variants.
Powerful pipe function and chainable operations like andThen, andThrough for clean data flow.
Built-in schema validation support with comprehensive error handling and type inference.