xss : Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. You can installing xss 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 xss $ sudo npm install -g xss
If want to update the xss package execute the command as below,
$ sudo npm update xss
Update package globally,
$ npm install -g xss
$ sudo git clone https://github.com/rektide/xss.git
$ sudo npm install -g ./xss
xss@0.3.4 /usr/lib/node_modules/xss
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall xss
| Package Name | xss |
| Version | 0.3.4 |
| Description | Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist |
| Released Date | 2017-09-01T08:07:36.448Z |
| Published by | leizongmin |
| How to Learn | https://www.npmjs.com/package/xss/tutorial |