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: the decision to change the default behavior of forbidUnknownValues is a breaking change
- fix: isISO31661Alpha2 currently allowing lowercase characters
- fix: IsBase64 validaton leads to "call stack size exceeded" for large strings (update validator package required)
- feature: Add `@IsCUID` validator
- fix: isUUID validation fails for UUID like strings
- feature: Add an option to support verifying the intersection or union of groups when validating by group.
- feat: add IsNullable and IsUndefined decorators
- feature: add `IsISO31661Numeric` decorator
- feat: add `IsISO31661Numeric` decorator for country codes
- feature: Add pls a isUnique
- Docs
- TypeScript not yet supported