PyPI91Excellenthealth index

tox-dev/turbohtmlA fast, fully typed HTML toolkit for Python. Escape, unescape, parse, select, and serialize HTML from one library, powered by a C-accelerated core.
C · Python★ 21↓ 137.5K/moNov 25, 2026
npm83Excellenthealth index
JavaScript★ 9↓ 97.8K/moNov 18, 2026
PyPI · crates.io80Excellenthealth index

eddiethedean/hedronPython components for FastAPI and HTMX—dashboards, admin tools, and CRUD apps without a JavaScript app stack.
Python★ 3↓ 2,625/moNov 29, 2026

webdiscus/ansisCJS/ESM ANSI color library for terminals, CI and Chromium-based browser consoles. Compatible with Bun, Deno, Next.JS.
JavaScript★ 512↓ 258M/moDec 2, 2026
TypeScript★ 1↓ 32.6M/moOct 24, 2026

leizongmin/js-xssSanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
HTML · JavaScript★ 5,311↓ 34.1M/moNov 21, 2026
TypeScript★ 0↓ 6,913/moNov 28, 2026
Packagist69Goodhealth index

interactivetools-com/SmartStringPHP strings that HTML-encode themselves on echo, interpolation, and concatenation. XSS-safe by default and at least 3x faster than calling htmlspecialchars() yourself.
PHP★ 0↓ 8,324/moDec 4, 2026
Packagist67Goodhealth index
PHP★ 52↓ 5,189/moNov 15, 2026
crates.io67Goodhealth index

hack-ink/unescaperUnescape strings with escape sequences written out as literal characters.
Rust★ 32↓ 1.5M/moDec 3, 2026
JavaScript★ 533↓ 3B/moNov 19, 2026
Packagist65Goodhealth index

interactivetools-com/SmartArrayPHP arrays whose fields HTML-encode themselves when echoed, with chainable methods for filtering, sorting, and grouping database rows. XSS-safe by default, with SmartString's encoder behind it: at least 2.5x faster than calling htmlspecialchars() yourself.
PHP★ 0↓ 1,953/moOct 23, 2026
crates.io63Moderatehealth index

magiclen/html-escapeThis library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
Rust★ 58↓ 4.5M/moOct 24, 2026
npm63Moderatehealth index
TypeScript · JavaScript★ 81↓ 467M/moNov 19, 2026
Packagist62Moderatehealth index

auraphp/Aura.ViewProvides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
PHP★ 88↓ 2,117/moDec 5, 2026
npm59Moderatehealth index
JavaScript★ 205↓ 2.9B/moNov 19, 2026
npm57Moderatehealth index
JavaScript★ 100↓ 56.5M/moNov 18, 2026
npm57Moderatehealth index
JavaScript★ 53↓ 646M/moNov 19, 2026
npm57Moderatehealth index
JavaScript★ 146↓ 2.5B/moNov 19, 2026
npm56Moderatehealth index
JavaScript · TypeScript★ 472↓ 3.9B/moDec 2, 2026
npm56Moderatehealth index
JavaScript★ 1,133↓ 385.4K/moOct 23, 2026
npm54Moderatehealth index
JavaScript · TypeScript★ 555↓ 729M/moNov 19, 2026
npm53Moderatehealth index
JavaScript · TypeScript★ 671↓ 123M/moNov 18, 2026
crates.io51Moderatehealth index

magiclen/url-escapeThis library is for encoding/escaping special characters in URLs and decoding/unescaping URLs as well.
Rust★ 8↓ 140.5K/moDec 3, 2026
npm50Moderatehealth index
JavaScript★ 500↓ 3B/moDec 2, 2026
JavaScript · TypeScript★ 172↓ 288M/moNov 19, 2026

sindresorhus/widest-lineGet the visual width of the widest line in a string - the number of columns required to display it
JavaScript★ 39↓ 231M/moDec 2, 2026
crates.io47Weakhealth index

allenap/shell-quoteA Rust library for shell quoting strings, e.g. for interpolating into a Bash script. This is not as simple as most people think!
Rust · HTML★ 11↓ 603.9K/moNov 20, 2026
JavaScript · TypeScript★ 558↓ 73.4M/moNov 18, 2026
JavaScript★ 23↓ 4,514/moNov 27, 2026