ts-pattern

ts-pattern

gvergnaud

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

15k Stars
163 Forks
15k Watchers
TypeScript Language
mit License
100 SrcLog Score
Cost to Build
$201.6K
Market Value
$1.44M

Growth over time

11 data points  Β·  2021-08-01 β†’ 2026-04-01
Stars Forks Watchers
πŸ’¬

How do you feel about this project?

Ask AI about ts-pattern

Question copied to clipboard

What is the gvergnaud/ts-pattern GitHub project? Description: "🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard β€” paste it after the AI opens.

How to clone ts-pattern

Clone via HTTPS

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

Clone via SSH

[email protected]:gvergnaud/ts-pattern.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the ts-pattern issue tracker:

Open GitHub Issues