Skip to main content

ts-rust

Rust-inspired utilities for TypeScript

Easy to Use

Safe and Explicit

@ts-rust/std brings Rust-inspired Option and Result types to TypeScript, ensuring you handle optional values and errors explicitly to prevent runtime surprises.

Focus on What Matters

Write Predictable Code

Focus on building robust applications with @ts-rust/std. Its utilities help you manage success, failure, and errors in a disciplined way, making your TypeScript code more reliable.