npm package
Homets-invariant
ts-invariant is a TypeScript library that provides an implementation of the invariant function, allowing developers to assert conditions in their code. It includes logging capabilities that can be configured for different verbosity levels, making it useful for debugging and error handling in applications. This package is particularly beneficial in environments where condition checking and logging are essential for maintaining code quality.
- lurq health score
- 43/100
- Confidence
- unproven
- Weekly downloads
- 3,126,563
- Latest version
- 0.10.3
- Last release
- May 13, 2022
- License
- MIT
Should you depend on ts-invariant?
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-invariant 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 testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @nestjs/testing93/100 · proven
- @middy/util93/100 · proven
- mocha91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 11, 2026; this page refreshes every 24 hours. Source repository.