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
- question: Alternative to ValidateIf due to Security breach
- fix: Inheritance and overriding fields
- feature: add `IsDurationString` to validate duration strings
- feature: enforce timezone info with isDateString
- feat: useAsyncContainer
- feature: ValidateIfElse decorator for conditional custom validation with selective validator ignoring
- feat/test nested whitelist array
- @Min/@Max errors override @IsInt when value is NaN after transformation
- question: IsPhoneNumber region is being used as country, is that ok?
- question: Release schedule, new release needed
- Docs
- TypeScript not yet supported