unwrapit
A graceful and intuitive way to handle errors in JS/TS. (by musicq)
ts-results
A typescript implementation of Rust's Result object. (by vultix)
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
unwrapit | ts-results | |
---|---|---|
2 | 7 | |
44 | 1,073 | |
- | - | |
6.8 | 0.0 | |
3 days ago | about 1 month 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.
unwrapit
Posts with mentions or reviews of unwrapit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-30.
ts-results
Posts with mentions or reviews of ts-results.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-30.
-
Robust Error Handling in TypeScript: A Journey from Naive to Rust-Inspired Solutions
For TypeScript developers, the ts-results library is a great tool to apply Rust's error handling pattern, simplifying the implementation of Rust’s `Result’ type in TypeScript.
-
A better way to handle errors in JavaScript
Nicer way to go about this is `ts-results` which introduces the `Result` type, inspired by rust.
https://github.com/vultix/ts-results
-
Is this TypeScript code weird?
I can't speak to it much myself as I don't have any experience with this pattern but I came across this the other day and your post made me think of it. https://github.com/vultix/ts-results Seems like it may not longer be maintained but might be worth comparing it your implementation. Allegedly the module 'fp-ts' also has this functionality but its another thing I have not looked into much.
-
Handling errors like a pro in TypeScript
https://github.com/vultix/ts-results for the former.
- oxide.ts - my Rust-inspired Option/Result and match library for TypeScript - Version 1.0 Release
-
what's the recommended way to handle error in TS?
I've recently been a fan of the Rust style Result return types. There's a few projects doing this but I've been using ts-results.
-
I created a package that adds Rust-like features to TypeScript
This looks fantastic! I’ve been using the types from ts-results in a project for work and it’s been so nice, but I’ve been getting frustrated by the outdated documentation and lack of responses to PRs that have been opened. I was considering writing one of these libraries myself, but this looks like a perfect replacement!