Search results

169 packages found

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin

published version 3.2.6, 22 days ago2852 dependents licensed under $(MPL-2.0 OR Apache-2.0)
41,740,968

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

published version 2.17.0, a month ago2104 dependents licensed under $MIT
12,892,730

Makes it possible to use DOMPurify on server and client in the same way.

published version 2.25.0, 22 days ago284 dependents licensed under $MIT
4,295,545

Modified sanitize-html for React. Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis

published version 1.13.0, 9 years ago27 dependents licensed under $MIT
206,042

Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.

published version 2.0.0, 5 months ago7 dependents licensed under $MIT
148,558

DOM-based HTML email sanitizer for in-browser email rendering.

published version 1.0.7, 3 months ago3 dependents licensed under $BSD-3-Clause-Clear
74,052

sanitizer for markdown-it.

published version 0.4.3, 9 years ago115 dependents licensed under $MIT
46,973

A template to parsable tree transformer used to produce valid HTML content.

published version 0.2.3, 4 years ago4 dependents licensed under $ISC
41,707

A React component that will sanitize user-inputted HTML code, using the popular sanitize-html package

published version 2.0.0, 8 years ago18 dependents licensed under $MIT
37,244

Inclusive Angular API for DOMPurify

published version 4.0.0, 3 years ago1 dependents licensed under $Apache-2.0
24,561

a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack

published version 2.0.2, a year ago1 dependents licensed under $MIT
16,622

LSS: Literal String Sanitizer – sanitizes string based on specific inputs and tries to guess the accurate type (in TypeScript/Typed JS).

published version 1.2.0, 2 years ago3 dependents licensed under $ISC
25,455

HTML Sanitizer for the client

published version 0.1.15, 8 years ago1 dependents licensed under $MIT
9,062

💎 Isomorphic html sanitizer by DOMPurify + sanitize-html

published version 1.4.6, a month ago3 dependents licensed under $MIT
9,303

String sanitization with JSON-Schema using Ajv

published version 1.2.1, 3 years ago2 dependents licensed under $MIT
9,626

Inclusive Angular API for DOMPurify

published version 4.1.11, 3 months ago0 dependents licensed under $Apache-2.0
6,592

HapiJS request sanitizer.

published version 1.1.0, 5 years ago0 dependents licensed under $MIT
5,087

Node wrapper for the Google Caja HTML/CSS sanitizer

published version 0.0.2, 12 years ago4 dependents licensed under $Apache 2.0
5,905

Express JS middleware to cleanup/sanitize json request body in express

published version 1.0.1, 4 years ago0 dependents licensed under $MIT
4,567

PostCSS plugin that removes properties and values based on options (think like a CSS sanitizer)

published version 0.0.9, 4 years ago1 dependents licensed under $MIT
2,968