exceptionally
A fully type-safe and lightweight way of using exceptions instead of throwing errors (by ivanhofer)
rslike
Rust-like but for TypeScript/JavaScript (by vitalics)
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 | rslike | |
---|---|---|
1 | 2 | |
35 | 8 | |
- | - | |
4.4 | 7.1 | |
about 1 year ago | 29 days ago | |
TypeScript | TypeScript | |
- | GNU General Public License v3.0 or later |
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!
rslike
Posts with mentions or reviews of rslike.
We have used some of these posts to build our list of alternatives
and similar projects.
-
RSLike@3. Well-known Symbols, Improved Usage of TypeScript, and Weighing More
To briefly recount the history of creating this marvel, while studying Rust, I saw the potential of these wrappers. And after being inspired, I decided to write such a marvel myself for JavaScript and use it in my projects (more on that later). Quite quickly, version 1 appeared, followed by a bunch of fixes (here), then version 2 emerged, introducing the cmp package and dbg. And only recently (April 10, 2024), version 3 for all packages saw the light of day: std, cmp, dbg.
-
It's done! Rust-like API in your JavaScript code
Full list available in Wiki: https://github.com/vitalics/rslike/wiki
What are some alternatives?
When comparing exceptionally and rslike you can also consider the following projects:
burrido - Do-notation for JavaScript
good-try - Tries to execute a sync/async function, returns a specified default value if the function throws
wari - A type-safe way to create and handle errors.
boxed - Essential building-blocks for functional & safe TypeScript code