Search results

1000+ packages found

Serialize (encode) HTML character references

published version 4.0.4, a year ago81 dependents licensed under $MIT
29,346,128

Terminal string styling with tagged template literals

published version 1.1.0, 2 years ago133 dependents licensed under $MIT
16,122,771

Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS

published version 0.0.11, 10 months ago34 dependents licensed under $MIT
12,207,963

Escape strings for use as JavaScript string literals

published version 1.0.1, 9 years ago414 dependents licensed under $MIT
13,217,080

Legacy list of escapable characters in markdown

published version 2.0.1, 4 years ago55 dependents licensed under $MIT
9,934,342

Simple SQL escape and format for MySQL

published version 2.3.3, 3 years ago586 dependents licensed under $MIT
17,671,291

Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.

published version 0.2.0, 10 years ago190 dependents licensed under $MIT
8,456,336

The lodash method `_.escape` exported as a module.

published version 4.0.1, 9 years ago233 dependents licensed under $MIT
11,935,561

Sanitize a string for use as a filename

published version 1.6.3, 6 years ago1354 dependents licensed under $WTFPL OR ISC
10,886,370

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.

published version 4.0.0, 3 years ago62 dependents licensed under $MIT
8,487,510

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published version 1.0.15, a year ago1228 dependents licensed under $MIT
12,211,313

ansi control sequences for terminal cursor hopping and colors

published version 1.0.2, 9 years ago179 dependents licensed under $MIT
7,399,211

Properly escape JSON for usage as an object literal inside of a `<script>` tag

published version 1.1.1, 9 years ago157 dependents licensed under $MIT
4,877,438

Add or remove backslashes (escape or unescape).

published version 3.0.12, 2 years ago73 dependents licensed under $ISC
4,699,244

Convert HTML entities to HTML characters, e.g. `&gt;` converts to `>`.

published version 1.0.1, 8 years ago139 dependents licensed under $MIT
3,924,636

Escape LaTeX special characters with Javascript

published version 1.2.0, 7 years ago29 dependents licensed under $MIT
4,863,935

Escape a regular expression string or pattern.

published version 0.2.2, 10 months ago6 dependents licensed under $Apache-2.0
1,924,098

Escape and stringify an array of arguments to be executed on the shell

published version 0.2.0, 10 years ago286 dependents licensed under $MIT
1,661,365

Escape glob patterns

published version 0.0.2, 9 years ago31 dependents licensed under $MIT
2,008,977

parse string escapes (\n, \r, etc.)

published version 0.2.0, 9 years ago58 dependents
1,179,527