Packages npm ts-pattern Package · npm
ts-pattern npm · v5.9.0 · MIT
The exhaustive Pattern Matching library for TypeScript.
Install npm install ts-patternCopy Adoption
Downloads (30 days) 27.3M Observed downloads / 30 days
Popularity Top 25% on npm Derived 83rd percentile within npm
Dependents Collecting history Collecting
Maintenance 0.49 Derived Release cadence and recency, 0 to 1
Releases per year 29 159 versions over its life Growth by period Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
7 days +1.4% · 7d Derived +369.4K downloads / 30 days, SEP 29 → OCT 6
30 days −5.5% · 30d Derived −1.6M downloads / 30 days, SEP 6 → OCT 6
90 days +21.1% · 90d Derived +4.7M downloads / 30 days, JUL 6 → OCT 6
1 year +129.8% · 1y Derived +15.4M downloads / 30 days, NOV 10 → OCT 6 Adoption history Adoption historydownloads / 30 days · 31 observations
30d 90d 1y 2y 28.9M 23.8M SEP 6, 2026: 28,878,574 downloads / 30 days SEP 7, 2026: 28,257,361 downloads / 30 days SEP 8, 2026: 27,659,851 downloads / 30 days SEP 9, 2026: 27,666,572 downloads / 30 days SEP 10, 2026: 27,586,783 downloads / 30 days SEP 11, 2026: 27,366,819 downloads / 30 days SEP 12, 2026: 26,325,307 downloads / 30 days SEP 13, 2026: 26,669,052 downloads / 30 days SEP 14, 2026: 27,294,318 downloads / 30 days SEP 15, 2026: 26,609,550 downloads / 30 days SEP 16, 2026: 26,531,277 downloads / 30 days SEP 17, 2026: 26,110,373 downloads / 30 days SEP 18, 2026: 25,549,830 downloads / 30 days SEP 19, 2026: 24,456,992 downloads / 30 days SEP 20, 2026: 23,810,674 downloads / 30 days SEP 21, 2026: 24,721,469 downloads / 30 days SEP 22, 2026: 25,765,014 downloads / 30 days SEP 23, 2026: 26,042,815 downloads / 30 days SEP 24, 2026: 26,169,507 downloads / 30 days SEP 25, 2026: 26,179,035 downloads / 30 days SEP 26, 2026: 25,306,573 downloads / 30 days SEP 27, 2026: 24,641,114 downloads / 30 days SEP 28, 2026: 25,729,132 downloads / 30 days SEP 29, 2026: 26,924,318 downloads / 30 days SEP 30, 2026: 27,314,764 downloads / 30 days OCT 1, 2026: 27,631,212 downloads / 30 days OCT 2, 2026: 27,587,855 downloads / 30 days OCT 3, 2026: 28,058,113 downloads / 30 days OCT 4, 2026: 27,293,709 downloads / 30 days OCT 5, 2026: 26,898,088 downloads / 30 days OCT 6, 2026: 27,293,709 downloads / 30 days SEP 6 SEP 21 OCT 6
Table of observations (31) Day downloads / 30 days Dependents OCT 6, 2026 27,293,709 Not observed OCT 5, 2026 26,898,088 Not observed OCT 4, 2026 27,293,709 Not observed OCT 3, 2026 28,058,113 Not observed OCT 2, 2026 27,587,855 Not observed OCT 1, 2026 27,631,212 Not observed SEP 30, 2026 27,314,764 Not observed SEP 29, 2026 26,924,318 Not observed SEP 28, 2026 25,729,132 Not observed SEP 27, 2026 24,641,114 Not observed SEP 26, 2026 25,306,573 Not observed SEP 25, 2026 26,179,035 Not observed SEP 24, 2026 26,169,507 Not observed SEP 23, 2026 26,042,815 Not observed SEP 22, 2026 25,765,014 Not observed SEP 21, 2026 24,721,469 Not observed SEP 20, 2026 23,810,674 Not observed SEP 19, 2026 24,456,992 Not observed SEP 18, 2026 25,549,830 Not observed SEP 17, 2026 26,110,373 Not observed SEP 16, 2026 26,531,277 Not observed SEP 15, 2026 26,609,550 Not observed SEP 14, 2026 27,294,318 Not observed SEP 13, 2026 26,669,052 Not observed SEP 12, 2026 26,325,307 Not observed SEP 11, 2026 27,366,819 Not observed SEP 10, 2026 27,586,783 Not observed SEP 9, 2026 27,666,572 Not observed SEP 8, 2026 27,659,851 Not observed SEP 7, 2026 28,257,361 Not observed SEP 6, 2026 28,878,574 Not observed
Facts from the registry
Latest version v5.9.0 159 versions
First published MAY 24, 2020
Last release OCT 26, 2025 12mo ago
Licence MIT Repository In the Crest catalog
🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.
Language TypeScript
Last push 43d ago
Last release 12mo ago Dependencies latest version · v5.9.0 No dependencies are recorded for the latest version.
Related news No published news event mentions this package or its repository yet.