class-validator : Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser. You can installing class-validator npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install class-validator $ sudo npm install -g class-validator
If want to update the class-validator package execute the command as below,
$ sudo npm update class-validator
Update package globally,
$ npm install -g class-validator
$ sudo git clone https://github.com/rektide/class-validator.git
$ sudo npm install -g ./class-validator
class-validator@0.7.3 /usr/lib/node_modules/class-validator
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall class-validator
Package Name | class-validator |
Version | 0.7.3 |
Description | Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser |
Released Date | 2017-10-17T04:40:59.773Z |
Published by | pleerock |
How to Learn | https://www.npmjs.com/package/class-validator/tutorial |