
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★ 20↓ 30.3K/月2026年10月1日
JavaScript★ 9↓ 70K/月2026年9月15日
TypeScript★ 1↓ 19.7M/月2026年8月27日

webdiscus/ansisCJS/ESM ANSI color library for terminals, CI and Chromium-based browser consoles. Compatible with Bun, Deno, Next.JS.
JavaScript★ 510↓ 198M/月2026年10月21日

eddiethedean/hedronPython components for FastAPI and HTMX—dashboards, admin tools, and CRUD apps without a JavaScript app stack.
Python★ 1↓ 11.1K/月2026年10月19日
PHP★ 52↓ 4,759/月2026年9月12日

hack-ink/unescaperUnescape strings with escape sequences written out as literal characters.
Rust★ 32↓ 1.3M/月2026年10月21日

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↓ 37.1K/月2026年9月9日

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↓ 1,983/月2026年10月21日

magiclen/html-escapeThis library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
Rust★ 55↓ 3.3M/月2026年8月27日
JavaScript★ 527↓ 1.8B/月2026年9月16日
JavaScript★ 1,129↓ 177.6K/月2026年8月25日
JavaScript · TypeScript★ 465↓ 2.9B/月2026年10月21日

leizongmin/js-xssSanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
HTML · JavaScript★ 5,311↓ 21.6M/月2026年9月17日
TypeScript · JavaScript★ 81↓ 242M/月2026年9月16日

auraphp/Aura.ViewProvides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
PHP★ 88↓ 2,376/月2026年9月6日
JavaScript★ 140↓ 1.6B/月2026年9月16日
JavaScript · TypeScript★ 552↓ 478M/月2026年9月16日

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★ 10↓ 197.4K/月2026年9月17日
JavaScript★ 200↓ 1.8B/月2026年9月16日

magiclen/url-escapeThis library is for encoding/escaping special characters in URLs and decoding/unescaping URLs as well.
Rust★ 8↓ 102.8K/月2026年10月21日
JavaScript · TypeScript★ 171↓ 197M/月2026年9月16日
JavaScript★ 498↓ 2.2B/月2026年10月21日
JavaScript · TypeScript★ 670↓ 78.7M/月2026年9月15日
JavaScript★ 23↓ 3,502/月2026年10月15日
Python★ 0↓ 228/月2026年10月2日
JavaScript★ 51↓ 436M/月2026年9月16日
JavaScript · TypeScript★ 552↓ 53.6M/月2026年9月15日

sindresorhus/widest-lineGet the visual width of the widest line in a string - the number of columns required to display it
JavaScript★ 40↓ 167M/月2026年10月21日
JavaScript★ 98↓ 38.4M/月2026年9月15日