npm package
Homets-pattern
ts-pattern is an exhaustive pattern matching library for TypeScript that enables developers to write safer and more readable code by expressing complex conditions in a compact manner. It is particularly useful for handling various data structures with type safety and exhaustiveness checking. This library can enhance the clarity and maintainability of TypeScript applications.
- lurq health score
- 61/100
- Confidence
- proven
- Weekly downloads
- 6,746,176
- Latest version
- 5.9.0
- Last release
- Oct 26, 2025
- License
- MIT
Should you depend on ts-pattern?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks ts-pattern at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 6, 2026; this page refreshes every 24 hours. Source repository.