DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
Regular expression for matching IP addresses (IPv4 & IPv6)
CommonJS version - The smallest and fastest command-line coloring package on the internet
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers