ts-pattern
Code branching library
A library that enables expressive and safe code branching with type inference for complex conditions
🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.
13k stars
29 watching
135 forks
Language: TypeScript
last commit: about 1 year ago
Linked from 2 awesome lists
branchingconditionsexhaustiveinferencejavascriptmatchingpatternpattern-matchingtstype-inferencetypescript
Related projects:
| Repository | Description | Stars |
|---|---|---|
| | A collection of design pattern implementations in TypeScript | 5,238 |
| | A comprehensive TypeScript library providing a wide range of type utilities to improve type safety and simplify complex type operations | 6,787 |
| | A collection of TypeScript challenges to improve type system understanding and utility writing | 43,787 |
| | A C++ library providing a functional programming style pattern-matching mechanism | 1,286 |
| | An experiment in adding functional pattern matching to JavaScript | 247 |
| | A collection of documentation and examples for learning and using TypeScript with React to build scalable and maintainable JavaScript applications. | 45,629 |
| | Maps software design patterns to Haskell type class concepts and functional programming structures | 995 |
| | An implementation of pattern matching for Go. | 246 |
| | A TypeScript framework providing a functional effect system with tools for building robust applications | 7,841 |
| | A comprehensive framework for building Node.js applications with TypeScript, providing a structured approach to coding and reducing errors. | 2,872 |
| | Provides a concise and declarative way to handle complex conditional logic in Go | 93 |
| | A library for typed functional programming in TypeScript, providing type-safe and scalable abstractions for common data structures. | 10,910 |
| | A collection of reusable, high-quality TypeScript types for writing more expressive and type-safe code. | 3,805 |
| | Provides an ES3-compatible polyfill for the match method of RegExp objects in ECMAScript 6 | 10 |
| | Provides rules to enforce consistent code style in TypeScript projects | 209 |