Show HN: Purify-edge, DOMPurify without jsdom that runs on Cloudflare Workers
Category: security
Tags: dompurify, edge-computing, html-sanitization, parse5, cloudflare-workers, security
Score: 7.0/10 (Innovation: 7, Technical: 7, Documentation: 8, Utility: 6)
purify-edge runs the unmodified DOMPurify on a lightweight parse5-based DOM shim instead of jsdom, enabling DOMPurify to work on edge runtimes like Cloudflare Workers with byte-identical output and lower memory usage. It fills a real gap for serverless and edge deployments that need secure HTML sanitization without Node.js dependencies.
Target audience: backend developers, edge developers, security engineers
Repository: https://github.com/anzal1/purify-edge · JavaScript · NOASSERTION
View on Hacker News