blocklet prevent xss attack
npm install @blocklet/xss@blocklet/xss is a package that integrates the xss refer to the official documentation.
```You can use npm / yarn
pnpm add @blocklet/xss
To install the required dependencies, run the following command:
``
pnpm i
To build the packages, execute the following command:
``
pnpm build
For building, watching changes, and running the development server, use the following command:
``
pnpm run dev
`jsx
const { xss } = require('@blocklet/xss');
const express = require('express');
const app = express();
// ---- body-parser ----
app.use(xss());
``
This package is licensed under the MIT license.