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: 3 months ago
Linked from 2 awesome lists
branchingconditionsexhaustiveinferencejavascriptmatchingpatternpattern-matchingtstype-inferencetypescript
Related projects:
Repository | Description | Stars |
---|---|---|
torokmark/design_patterns_in_typescript | A collection of design pattern implementations in TypeScript | 5,238 |
millsp/ts-toolbelt | A comprehensive TypeScript library providing a wide range of type utilities to improve type safety and simplify complex type operations | 6,787 |
type-challenges/type-challenges | A collection of TypeScript challenges to improve type system understanding and utility writing | 43,787 |
solodon4/mach7 | A C++ library providing a functional programming style pattern-matching mechanism | 1,286 |
bramstein/funcy | An experiment in adding functional pattern matching to JavaScript | 247 |
typescript-cheatsheets/react | A collection of documentation and examples for learning and using TypeScript with React to build scalable and maintainable JavaScript applications. | 45,629 |
thma/ltupatternfactory | Maps software design patterns to Haskell type class concepts and functional programming structures | 995 |
alexpantyukhin/go-pattern-match | An implementation of pattern matching for Go. | 246 |
effect-ts/effect | A TypeScript framework providing a functional effect system with tools for building robust applications | 7,841 |
tsedio/tsed | A comprehensive framework for building Node.js applications with TypeScript, providing a structured approach to coding and reducing errors. | 2,872 |
phakornkiong/go-pattern-match | Provides a concise and declarative way to handle complex conditional logic in Go | 93 |
gcanti/fp-ts | A library for typed functional programming in TypeScript, providing type-safe and scalable abstractions for common data structures. | 10,910 |
ts-essentials/ts-essentials | A collection of reusable, high-quality TypeScript types for writing more expressive and type-safe code. | 3,805 |
mathiasbynens/regexp.prototype.match | Provides an ES3-compatible polyfill for the match method of RegExp objects in ECMAScript 6 | 10 |
ajafff/tslint-consistent-codestyle | Provides rules to enforce consistent code style in TypeScript projects | 209 |