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: how to validate `array.length`?
- feature: Range decorator for numbers
- fix: Memory leak on global IOC container and `classValidatorMetadataStorage`
- feature: Enhance Message Support for Array Input in @IsEnum() Decorator
- feat: enhance validEnumValues function to support array input for message
- fix: The @IsByteLength() decorator does not validate correctly for multi-byte characters such as Japanese and Chinese.
- Performing sequential and asynchronous custom validation
- isLuhn
- fix: isUrl returns true for email addresses
- feature: Luhn algorithm
- Docs
- TypeScript not yet supported