oxide.ts - my Rust-inspired Option/Result and match library for TypeScript - Version 1.0 Release

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • oxide.ts

    Rust's Option<T> and Result<T, E>, implemented for TypeScript.

  • You can check out the npm page or the GitHub repository

  • proposal-pattern-matching

    Pattern matching syntax for ECMAScript

  • It's unlikely that Option/Result will be given that you can clearly implement it yourself. But expression-based match syntax is an active proposal.

  • 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
  • actix_svelte_template

    An Actix-Web template with SvelteKit served as static files

  • Yep I even created a GitHub template. I compile sveltekit to static files and serve them as such using the actix static files package. When debugging I use nginx to avoid CORS issues.

  • rust-option

    brings Option / Result / match from Rust to Javascript

  • rustic

    rustic is a TypeScript library providing emulation of Rust's Option and Result types (and some useful wrappers for common js functions as well!) (by franeklubi)

  • 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>`.

  • rusty-ts

    Rust-inspired Option and Result types for TypeScript.

  • 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.

    InfluxDB logo
  • rustils

    Port of some powerful Rust utils to JavaScript

  • result

    Rust Results for JavaScript (by marionebl)

  • optionals

    Rust-like error handling and options for TypeScript and Deno!

  • option-result

    WIP: Stream API for lazy iterable operations using Optional type

  • opty

    Option and Result type ported from Rust to JS

  • monads

    Option, Result, and Either types for TypeScript - Inspired by Rust 🦀

  • throwless

    The Result and Option type from Rust ported to TypeScript.

  • ts-results

    A typescript implementation of Rust's Result object.

  • typesafely

    TypeScript types designed to emulate the Rust Option and Result types.

  • proposal-decorators

    Decorators for ES6 classes

  • You are right that Decorators are behind an experimental flag. Looks like the standard decorator proposal is stage 3? The interesting part will be how and when they remove the experimental decorators after the standard ones are finalized.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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