TypeScript pattern-matching

Open-source TypeScript projects categorized as pattern-matching

Top 6 TypeScript pattern-matching Projects

  • ts-pattern

    🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.

  • Project mention: You Don't Need React | news.ycombinator.com | 2024-02-08

    ts-pattern has been a decent band-aid for the lack of native pattern matching, but obviously has downsides that could be avoided if it was built into the language.

    https://github.com/gvergnaud/ts-pattern

  • Index

    ⚡ Pattern Matching in Typescript

  • 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
  • matchbook-ts

    pattern matching in javascript & typescript made easy

  • pattern-grab

    🤛🏻 Regular Expression Data Grabber

  • yieldpattern

    Pattern matching with switch statements and generation functions

  • lodash-patterns

    Small pattern matching tool using lodash

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript pattern-matching related posts

  • You Don't Need React

    5 projects | news.ycombinator.com | 8 Feb 2024
  • Stop nesting ternaries

    1 project | /r/javascript | 7 Dec 2023
  • Pattern Matching Library for TypeScript

    1 project | news.ycombinator.com | 18 Aug 2023
  • How to achieve type safety here possible without "type hacks"?

    1 project | /r/typescript | 26 Jun 2023
  • ts-pattern v5

    1 project | news.ycombinator.com | 13 Jun 2023
  • Simplifying Dynamic Classes in Vue with the class-variance-authority library | cdruc.com

    1 project | /r/vuejs | 6 Jun 2023
  • Rust Appreciation Thread

    3 projects | /r/rust | 31 May 2023
  • A note from our sponsor - SurveyJS
    surveyjs.io | 22 May 2024
    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. Learn more →

Index

What are some of the best open-source pattern-matching projects in TypeScript? This list will help you:

Project Stars
1 ts-pattern 11,020
2 Index 186
3 matchbook-ts 32
4 pattern-grab 7
5 yieldpattern 4
6 lodash-patterns 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com