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
- Please add a JavaScript verification decorator item
- styled : validation decorators markdown formalization
- styled : validation decorator add Javascript validation decorators
- feature: add `@IsVatId()` decorator
- Initial naive implementation for method arguments decorator validation
- question: get constrains in decorators and not the message
- feature: return promise from validation only if necessary and validate sync if possible
- feat: Pass propertyName to ValidateIf condition function
- question: isPhoneNumber validation input without country code
- Class-level validators
- Docs
- TypeScript not yet supported