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 nested arrays when the elements are from different classes?
- fix: Special token $value
- docs(README.md): Remove duplicated `@IsNumberString`
- Cannot find module 'libphonenumber-js'
- question: Type safe property decorators
- fix: @IsEnum doesn't try to convert string to enum, the value in @Transform = NaN
- feat: run asynchronous decorators in order when synchronous decorators are present on the same property
- fix: 0.13.2 to 0.14.0 breaks IsCurrencyOptions
- value is getting undefined in case of custom validation for file
- required:true not working for file upload
- Docs
- TypeScript not yet supported