Cody Ray

What's new technology today

Library


Use data annotations to reduce model validation for TS

data-annotations Some common object property limiters and customizable limiter injection are provided Built in three common limiters `Required` Restrictions applied when required fields `Range` It can put your numbers in a certain range, like 2-10 `RegularExpression` It can match regular in string type properties Installation npm install data-annotations --save Usage Use built-in limiter The …

TypeScript Library NPM

  • 1