Skip to main content

Package note

ts-pattern

The exhaustive Pattern Matching library for TypeScript.

v5.9.2

Ts-pattern is The exhaustive Pattern Matching library for TypeScript. Licensed under MIT, it is very popular in the JavaScript ecosystem with 3.8M weekly downloads.

Key Metrics

Weekly Downloads
3.8M
Bundle (gzip)
2.6 KB
Last Updated
Vulnerabilities
0

Download Trend

↓18%

Health Score Breakdown

Ts-pattern has an excellent overall health score of 92/100. Its strongest dimension is maintenance (100/100), while stability (70/100) is the area with most room for improvement. This package is well-maintained and actively used.

Maintenance
100
Popularity
100
Quality
80
Security
100
Stability
70

Package Details

License
MIT
Dependencies
0
Uncompressed Size
7.8 KB
Keywords
patternmatchingpattern-matchingtypescriptmatch-withmatchswitchadt

Free JS Stack Cheatsheet

The best package for every category — one PDF.

Join 500+ devs. No spam.