sanitize-html VS Themis

Compare sanitize-html vs Themis and see what are their differences.

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 (by apostrophecms)

Themis

Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms. (by cossacklabs)
Our great sponsors
  • WorkOS - The modern API for authentication & user identity.
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • InfluxDB - Power Real-Time Data Analytics at Scale
sanitize-html Themis
4 2
3,542 1,796
1.2% 0.9%
7.2 5.9
4 days ago about 2 months ago
JavaScript C
MIT License Apache License 2.0
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.

sanitize-html

Posts with mentions or reviews of sanitize-html. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-19.

Themis

Posts with mentions or reviews of Themis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-12.
  • Backstage: cryptographic R&D internship at Cossack Labs
    4 projects | dev.to | 12 May 2021
    Now, the real world work starts. We introduce interns to the world of popular cryptographic libraries, help them to make their first OSS contributions, and let them practice with our cryptographic library Themis which provides a high-level crypto API on 14 languages.

What are some alternatives?

When comparing sanitize-html and Themis you can also consider the following projects:

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:

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

tweetnacl-java - TweetNaCl in Java - a port of TweetNaCl-js

cryptography - cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

snyk - Snyk CLI scans and monitors your projects for security vulnerabilities. [Moved to: https://github.com/snyk/cli]

NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser

Paramiko - The leading native Python SSHv2 protocol library.

xss-filters

Crypto++ - free C++ class library of cryptographic schemes

CryptoSwift - CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift