npm package
Homeclass-validator
class-validator is a library for validating class properties using decorators. It is ideal for ensuring data integrity in applications that utilize TypeScript classes. This package fits well in applications requiring structured validation logic for user input or data models.
- lurq health score
- 62/100
- Confidence
- proven
- Weekly downloads
- 8,507,865
- Latest version
- 0.15.1
- Last release
- Feb 26, 2026
- License
- MIT
Should you depend on class-validator?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks class-validator 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 validation packages lurq scores
- fast-xml-parser93/100 · proven
- @babel/helper-validator-identifier91/100 · proven
- @babel/helper-validator-option91/100 · proven
- dependency-cruiser88/100 · proven
- @graphql-tools/schema87/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 13, 2026; this page refreshes every 24 hours. Source repository.