Hi, which package is the best for data validation, while I’m using Angular2?
Since you’re using Angular, I’m assuming you’re using TypeScript, so you might want to look at class-validator
, which depends on the latter, though not the former, so you can use it on both client and server code.
Within Angular forms, I’d think you’d want to stick with the validation provided by Angular’s Form Validation libraries.