xss-shield VS js-xss

Compare xss-shield vs js-xss and see what are their differences.

xss-shield

A powerful middleware for securing your express.js applications against cross-site scripting (XSS) attacks (by Louis3797)

js-xss

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist (by leizongmin)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
xss-shield js-xss
2 4
5 5,108
- -
5.1 4.8
11 months ago 2 months ago
TypeScript HTML
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

xss-shield

Posts with mentions or reviews of xss-shield. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-25.

js-xss

Posts with mentions or reviews of js-xss. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-25.

What are some alternatives?

When comparing xss-shield and js-xss you can also consider the following projects:

graphql-armor - 🛡️ The missing GraphQL security security layer for Apollo GraphQL and Yoga / Envelop servers 🛡️

DOMPurify - DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

maestro-express-async-errors - Maestro is a layer of code that acts as a wrapper, without any dependencies, for async middlewares.

sanitize-html - Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance

foal - Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.

xss-filters