406 packages found
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
fast and safe way to escape and unescape &<>'" chars
Escape HTML utils.
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Escape HTML special charactors.
A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.
- ANSI
- ansi to css
- code
- codes
- color
- colors
- text
- command-line
- command line
- sequence
- control
- formatting
- cli
- shell
- View more
Serialize (encode) HTML character references
Unescape HTML special charactors.
[escape html](https://www.npmjs.com/package/@f0c1s/escape-html)
Escape or unescape string for use in HTML.
Escape a string for use in HTML or the inverse
- escape
- unescape
- html
- entity
- entities
- escaping
- sanitize
- sanitization
- utility
- template
- attribute
- value
- interpolate
- xss
- View more
string contains methods that aren't included in the vanilla JavaScript string such as escaping html, decoding html entities, stripping tags, etc.
Escape string for use in html
Replace escaped characters in HTML class names and CSS selectors.
- css-selectors
- escape-char
- html
- html-email
- maizzle
- posthtml
- posthtml-plugin
- replace-escaped-characters
- safe-char
- tailwindcss
Properly escape JSON for usage as an object literal inside of a `<script>` tag
Escape HTML special characters (including `)
提供了格式化时间 HTMLescape等拆分html相关功能