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
- feature: Add @IsIataCityCode decorator to validate 3-letter IATA city codes
- `validator` bump causes regression
- question: isMobile for validating FIJI and Vanuatu's moible number is not working
- feature: How to Assign Validation Result to a Field Using class-validator in NestJS?
- question: Alternative to ValidateIf due to Security breach
- fix: Inheritance and overriding fields
- feature: add `IsDurationString` to validate duration strings
- feat: add IsDuration decorator
- feature: Add `IsIBANOptions` to `IsIBAN` decorator
- feature: enforce timezone info with isDateString
- Docs
- TypeScript not yet supported