# Install xss with npm

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. Version 1.0.15 via npm; verified 2024-03-03.

## Install

```sh
sudo av install npm:xss
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g xss
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:xss
- **Package manager:** npm
- **Version:** 1.0.15
- **Source summary:** Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
- **Homepage:** <https://github.com/leizongmin/js-xss>
- **Last updated:** 2024-03-03T02:33:54.727Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- xss (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.15

## Security Notes

No matching local secret-handling manifest was found for xss. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
