
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/月2026年11月25日
JavaScript★ 9↓ 97.8K/月2026年11月18日

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

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

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

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/月2026年12月4日
PHP★ 52↓ 5,189/月2026年11月15日

hack-ink/unescaperUnescape strings with escape sequences written out as literal characters.
Rust★ 32↓ 1.5M/月2026年12月3日
JavaScript★ 533↓ 3B/月2026年11月19日

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/月2026年10月23日

magiclen/html-escapeThis library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
Rust★ 58↓ 4.5M/月2026年10月24日
TypeScript · JavaScript★ 81↓ 467M/月2026年11月19日

auraphp/Aura.ViewProvides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
PHP★ 88↓ 2,117/月2026年12月5日
JavaScript★ 205↓ 2.9B/月2026年11月19日
JavaScript★ 100↓ 56.5M/月2026年11月18日
JavaScript★ 53↓ 646M/月2026年11月19日
JavaScript★ 146↓ 2.5B/月2026年11月19日
JavaScript · TypeScript★ 472↓ 3.9B/月2026年12月2日
JavaScript★ 1,133↓ 385.4K/月2026年10月23日
JavaScript · TypeScript★ 555↓ 729M/月2026年11月19日
JavaScript · TypeScript★ 671↓ 123M/月2026年11月18日

magiclen/url-escapeThis library is for encoding/escaping special characters in URLs and decoding/unescaping URLs as well.
Rust★ 8↓ 140.5K/月2026年12月3日
JavaScript★ 500↓ 3B/月2026年12月2日
JavaScript · TypeScript★ 172↓ 288M/月2026年11月19日

sindresorhus/widest-lineGet the visual width of the widest line in a string - the number of columns required to display it
JavaScript★ 39↓ 231M/月2026年12月2日

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/月2026年11月20日
JavaScript · TypeScript★ 558↓ 73.4M/月2026年11月18日
JavaScript★ 23↓ 4,514/月2026年11月27日