npm.io
0.15.4 • Published 4 months ago

@blocklet/xss

Licence
MIT
Version
0.15.4
Deps
2
Size
20 kB
Vulns
0
Weekly
0

@blocklet/xss

@blocklet/xss is a package that integrates the xss refer to the official documentation.

Development

Install In Blocklet

# You can use npm / yarn
pnpm add @blocklet/xss
Install Dependencies

To install the required dependencies, run the following command:

pnpm i
Build Packages

To build the packages, execute the following command:

pnpm build
Build, Watch, and Run Development Server

For building, watching changes, and running the development server, use the following command:

pnpm run dev

Example

const { xss } = require('@blocklet/xss');
const express = require('express');

const app = express();
// ---- body-parser ----

app.use(xss());

License

This package is licensed under the MIT license.

Keywords