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
- isJSON doesn't validate json-encoded strings
- feat: custom validation method decorator
- documentation: Validating nested arrays after creation with class-transformer
- feature: add `IsReadOnly` decorator
- feature: add the possibility to change default property name in default error message
- fix: @Validateif does not work and does not report an error
- fix: Override IsOptional decorator in derived class
- feature: use typescript type information as validation rules
- feature: @isBigInt
- feature: Add `IsFilename` to determine whether input field is a valid filename
- Docs
- TypeScript not yet supported