Search results

1000+ packages found

Transform environment variables into JSON object with sanitized values.

published version 2.0.0, 5 years ago22 dependents licensed under $MIT
156,003

Remove and replace illegal characters in S3 Object Keys

published version 0.0.1, 6 years ago14 dependents licensed under $Apache-2.0
22,253

Express middleware to trim all incoming request object

published version 1.0.6, 8 years ago9 dependents licensed under $MIT
4,551

simple node middleware to sanitize req.body object

published version 0.2.1, 7 years ago0 dependents licensed under $MIT
729

Convert a string to a valid safe filename

published version 6.0.0, 2 years ago471 dependents licensed under $MIT
21,044,306

Recursively traverse an object tree and callback a function for each property found.

published version 0.0.1, 6 years ago0 dependents licensed under $MIT
76

Scrubs xss content in a JavaScript object

published version 1.0.0, 5 years ago0 dependents licensed under $ISC
217

String validation and sanitization

published version 13.15.0, 2 months ago7322 dependents licensed under $MIT
58,454,525

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.5, a month ago2781 dependents licensed under $(MPL-2.0 OR Apache-2.0)
38,229,647

micromark utility to sanitize urls

published version 2.0.1, 6 months ago51 dependents licensed under $MIT
38,735,213

Super Fast Object Validator for Javascript(& Typescript).

published version 3.0.0-rc.2, 2 years ago3 dependents licensed under $MIT
202

Escape a string for use in HTML or the inverse

published version 4.0.0, 4 years ago540 dependents licensed under $MIT
28,516,763

JavaScript object validation made easy.

published version 2.0.0, 10 years ago0 dependents
103

Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS

published version 0.0.11, 9 months ago34 dependents licensed under $MIT
11,210,993

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published version 1.0.15, a year ago1210 dependents licensed under $MIT
11,939,002

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

published version 2.17.0, 4 days ago2091 dependents licensed under $MIT
11,847,062

Sanitize a string for use as a filename

published version 1.6.3, 6 years ago1355 dependents licensed under $WTFPL OR ISC
9,813,082

Sanitize xss from plain object/array/string

published version 1.0.1, 10 years ago2 dependents licensed under $Apache-2.0
37

A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.

published version 1.6.0, a month ago51 dependents licensed under $MIT
4,272,933

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

published version 2.24.0, a month ago282 dependents licensed under $MIT
4,099,411