option-result-rs

Option<T> and Result<T, E> enum types for JavaScript. If you need more Rust-like features, check out derive-rust npm package

Browse on unpkg