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
- feat: new Validation decorators IsNatural and IsNaturalNoZero
- Add improved validation message for unknown property
- feature: treat some function as type assertions
- fix: Message constraint error
- fix: example on "always" option in doc
- question: is there a way to ensure validators and types match?
- question: custom validator for subtype
- question: add locations errors in the response when using custom validator
- Cannot find module 'libphonenumber-js'
- question: Type safe property decorators
- Docs
- TypeScript not yet supported