class-validator
https://github.com/typestack/class-validator
TypeScript
Decorator-based property validation for classes.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported4 Subscribers
Add a CodeTriage badge to class-validator
Help out
- Issues
- fix: ValidateNested always fails with optional/nullable values even when `IsOptional({each:true})` is set
- feature: Decorator-less support
- @types/validator is a production dependency
- fix: Cannot Install in arm64 architecture
- fix: package does not work in a mono repo
- docs(onlinedocs): mkdocs with material theme for the readme file to a…
- feature: standardschema support
- feature(SatisfyAny): add a validator to ensure given value satisfies any of constraint functions, in order to validate Union Type, etc
- IsNumber throws error when first argument is not correctly set (null instead of {})
- fix: IsLongitude & IsLatitude missing input type number
- Docs
- TypeScript not yet supported