exceptionally
A fully type-safe and lightweight way of using exceptions instead of throwing errors (by ivanhofer)
rust-option
brings Option / Result / match from Rust to Javascript (by exoticknight)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
exceptionally | rust-option | |
---|---|---|
1 | 1 | |
35 | 23 | |
- | - | |
4.4 | 0.0 | |
about 1 year ago | over 1 year ago | |
TypeScript | TypeScript | |
- | 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.
exceptionally
Posts with mentions or reviews of exceptionally.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-22.
-
Handling errors like a pro in TypeScript
I one also thought that handlong errors works better when havung a good structure but that didn't really plan out. I stopped throwing anything inside my codebases. The only way to get full knowledge over the possible outcomes of a function call is if the function also returns exceptions instead of throwing them. TypeScript will not help you if something gets thrown. I wrote my own little library to handle this: https://github.com/ivanhofer/exceptionally I recently discovered that there are also other solutions out there that do something similar. With such an approach you will also know after 5 and more levels of function calls if your code really covers all possible outcomes. Really useful for refactoings!
rust-option
Posts with mentions or reviews of rust-option.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-02.
What are some alternatives?
When comparing exceptionally and rust-option you can also consider the following projects:
burrido - Do-notation for JavaScript
ts-results - A typescript implementation of Rust's Result object.
option-result - WIP: Stream API for lazy iterable operations using Optional type
optionals - Rust-like error handling and options for TypeScript and Deno!
option-t - A toolkit of Nullable/Option/Result type implementation in ECMAScript. Their APIs are inspired by Rust's `Option<T>` and `Result<T, E>`.
monads - Option, Result, and Either types for TypeScript - Inspired by Rust 🦀
actix_svelte_template - An Actix-Web template with SvelteKit served as static files