UNPKG

rustable

Version:

A TypeScript library that brings Rust-inspired features to TypeScript, including traits, Option, Result, and more. Zero dependencies, type-safe implementation.

20 lines (19 loc) 622 B
/** * Rustable - A TypeScript Library for Rust-Inspired Programming * * Rustable brings Rust's powerful features and programming patterns to TypeScript, * enabling more robust and maintainable code through: * * - Type-safe null handling with Option<T> * - Explicit error handling with Result<T, E> * - Trait-based polymorphism * - Powerful iterator utilities * - Pattern matching * - Efficient data structures */ export * from '@rustable/commons'; export * from '@rustable/enum'; export * from '@rustable/iter'; export * from '@rustable/trait'; export * from '@rustable/type'; export * from '@rustable/utils';