Showing 1-20 of 453,802 packages
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
A robust HTML entities encoder/decoder with full Unicode support.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Clean up regular expressions
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Clean an input string into a usable git ref
Log a deprecation message with stack
TypeScript definitions for html-minifier
A well-tested CSS minifier
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Clean up error stack traces
A robust base64 encoder/decoder that is fully compatible with `atob()` and `btoa()`, written in JavaScript.
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
Editor.js — open source block-style WYSIWYG editor with JSON output
Windows MetaFile (WMF) parser
Rational approximation with bounded denominator
CSS minifier for Broccoli, using clean-css
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.