random-useragent : Get a random useragent (with an optional filter). You can installing random-useragent 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 random-useragent $ sudo npm install -g random-useragent
If want to update the random-useragent package execute the command as below,
$ sudo npm update random-useragent
Update package globally,
$ npm install -g random-useragent
$ sudo git clone https://github.com/rektide/random-useragent.git
$ sudo npm install -g ./random-useragent
random-useragent@0.3.1 /usr/lib/node_modules/random-useragent
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall random-useragent
| Package Name | random-useragent |
| Version | 0.3.1 |
| Description | Get a random useragent (with an optional filter) |
| Released Date | 2016-10-15T20:42:32.868Z |
| Published by | skratchdot |
| How to Learn | https://www.npmjs.com/package/random-useragent/tutorial |