Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Serialize (encode) HTML character references
Terminal string styling with tagged template literals
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
- sanitization
- xss
- sanitize
- sanitisation
- input
- security
- escape
- encode
- filter
- validator
- html
- css
- injection
- whitelist
Escape strings for use as JavaScript string literals
Legacy list of escapable characters in markdown
Simple SQL escape and format for MySQL
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
The lodash method `_.escape` exported as a module.
Sanitize a string for use as a filename
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
ansi control sequences for terminal cursor hopping and colors
Properly escape JSON for usage as an object literal inside of a `<script>` tag
Add or remove backslashes (escape or unescape).
Convert HTML entities to HTML characters, e.g. `>` converts to `>`.
Escape LaTeX special characters with Javascript
Escape a regular expression string or pattern.
Escape and stringify an array of arguments to be executed on the shell
Escape glob patterns
parse string escapes (\n, \r, etc.)