oxide.ts
Rust's Option<T> and Result<T, E>, implemented for TypeScript. (by traverse1984)
result
A TypeScript result type taking cues from Rust's Result and Haskell's Either types (by badrap)
Our great sponsors
oxide.ts | result | |
---|---|---|
4 | 2 | |
484 | 276 | |
- | 2.9% | |
0.0 | 3.9 | |
7 months ago | 25 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oxide.ts
Posts with mentions or reviews of oxide.ts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-02.
- GitHub - traverse1984/oxide.ts: Rust's Option<T> and Result<T, E>, implemented for TypeScript.
-
oxide.ts - my Rust-inspired Option/Result and match library for TypeScript - Version 1.0 Release
You can check out the npm page or the GitHub repository
-
oxide.ts - Big update to my Rust-inspired Option/Result library
Resources: change log - npm page -github branch
- I created a package that adds Rust-like features to TypeScript
result
Posts with mentions or reviews of result.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-09.
- Python errors as values: Comparing useful patterns from Rust and Go
-
I created a package that adds Rust-like features to TypeScript
I'm using https://github.com/badrap/result for this purpose right now. I'll have to take a closer look at the API to see how your library differs, but I skimmed through the README and it looked promising. Good stuff :)
What are some alternatives?
When comparing oxide.ts and result you can also consider the following projects:
neverthrow - Type-Safe Errors for JS & TypeScript
ts-results - A typescript implementation of Rust's Result object.
dbg-expr - A helper for evalutating and logging an expression at the same time.
unwrapit - A graceful and intuitive way to handle errors in JS/TS.
monads - Option, Result, and Either types for TypeScript - Inspired by Rust 🦀
rusty-ts - Rust-inspired Option and Result types for TypeScript.
option-result - WIP: Stream API for lazy iterable operations using Optional type
functional-conditionals - A library for writing if / else if / else in a functional way.
actix_svelte_template - An Actix-Web template with SvelteKit served as static files
rustils - Port of some powerful Rust utils to JavaScript