Rest In Peace, Throw. An opinionated TypeScript library for error handling for pragmatic devs.
-
Updated
Jun 4, 2026 - TypeScript
Rest In Peace, Throw. An opinionated TypeScript library for error handling for pragmatic devs.
A lightweight, Rust-inspired Result type for JavaScript and TypeScript — handle success and error cases without exceptions.
Utility functions for creating and handling Rust-like Result and Options types.
Exports useful data structures for TypeScript.
Pattern-matching engine for TypeScript — compile-once hot path or allocation-free walk mode. Rust-like, type-safe, exhaustive, zero dependencies.
Add a description, image, and links to the rust-like topic page so that developers can more easily learn about it.
To associate your repository with the rust-like topic, visit your repo's landing page and select "manage topics."