valid-url : URI validation functions. You can installing valid-url 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 valid-url $ sudo npm install -g valid-url
If want to update the valid-url package execute the command as below,
$ sudo npm update valid-url
Update package globally,
$ npm install -g valid-url
$ sudo git clone https://github.com/rektide/valid-url.git
$ sudo npm install -g ./valid-url
valid-url@1.0.9 /usr/lib/node_modules/valid-url
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall valid-url
| Package Name | valid-url |
| Version | 1.0.9 |
| Description | URI validation functions |
| Released Date | 2013-07-31T03:27:38.576Z |
| Published by | odysseas |
| How to Learn | https://www.npmjs.com/package/valid-url/tutorial |