A better way to handle errors in JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • unwrapit

    A graceful and intuitive way to handle errors in JS/TS.

  • effect

    An ecosystem of tools to build robust applications in TypeScript.

  • Just use a library that already contains this and more functional programming idioms, like fp-ts or its successor, Effect [0]. It is a little more complex to learn but much more robust that simply implementing your own Result and other types.

    [0] https://www.effect.website/

  • 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 logo
  • ts-results

    A typescript implementation of Rust's Result object.

  • Nicer way to go about this is `ts-results` which introduces the `Result` type, inspired by rust.

    https://github.com/vultix/ts-results

  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What DI framework are you using?

    3 projects | /r/typescript | 7 Jan 2023
  • Introduction

    3 projects | dev.to | 1 Nov 2022
  • Effect in React

    5 projects | dev.to | 24 May 2024
  • Exploring Effect, a meta-state RxJS-like framework

    1 project | dev.to | 24 Jan 2024
  • Python errors as values: Comparing useful patterns from Rust and Go

    3 projects | news.ycombinator.com | 9 Nov 2023