npm package
Homeassert-never
assert-never is a helper function designed for performing exhaustive checks on discriminated unions in TypeScript. It ensures that all possible cases are handled, throwing an error at runtime if an unexpected case is encountered. This package is useful for maintaining type safety in TypeScript applications that utilize union types.
- lurq health score
- 43/100
- Confidence
- unproven
- Weekly downloads
- 3,496,842
- Latest version
- 1.4.0
- Last release
- Dec 17, 2024
- License
- MIT
Should you depend on assert-never?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks assert-never 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 8, 2026; this page refreshes every 24 hours. Source repository.