Search results

21 packages found

Escape a string for use in HTML or the inverse

published version 4.0.0, 4 years ago542 dependents licensed under $MIT
33,060,420

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,801,797

A cross-platform library for safely passing strings through shells

published version 1.0.1, 5 years ago22 dependents licensed under $MIT
411,499

ES6 template literal tag to encode URI components

published version 2.0.0, 2 years ago8 dependents licensed under $MIT
49,392

Utility methods for escaping according to OWASP.

published version 1.0.0, 13 years ago4 dependents
8,462

Escape a string for a lucene query. Effectively removes all special characters.

published version 1.0.1, 10 years ago3 dependents licensed under $Artistic-2.0
2,779

Escape a string for use in HTML or the inverse

published version 4.0.0-cjsa.0, 3 years ago0 dependents licensed under $MIT
302

Converts XML AST structures (like the ones generated by xml-reader) to XML strings

published version 1.1.3, 9 years ago0 dependents licensed under $MIT
364

Escape and un-escape delimiters in templates. Tested with Lo-Dash, underscore and Handlebars syntax, but could be used with other template engines/syntaxes as well. This is similar to the process used by Yeoman on escaped templates in generators.

published version 0.4.0, 11 years ago0 dependents
297

ES6 Template string function for encoding text into HTML

published version 2.0.0, 10 days ago1 dependents licensed under $MIT
113

Format Telegram messages, escape special characters, switch formatting styles, convert special entities to formatted text and vice versa, form Telegram links, use Unicode symbols.

published version 1.2.7, 2 months ago2 dependents licensed under $ISC
70

Production ready mysql client framework in single file.

published version 0.0.3, 10 months ago1 dependents licensed under $MIT
24

A useful regex toolkit for validation, extraction, and escaping in JavaScript/TypeScript.

published version 1.0.1, 2 months ago0 dependents licensed under $MIT
18

Utility functions for working with regular expressions

published version 0.3.3, a year ago2 dependents licensed under $MIT
17

Parses commands with a specified prefix, delimited by spaces, with support for double & single quotations, and no need for escaping.

published version 2.1.2, 7 years ago1 dependents licensed under $MIT
13

A small package to escape spacing chacaters (e.g. newlines) in strings.

published version 0.0.4, 5 years ago0 dependents licensed under $MIT
8

SQL like prepared statements for regular expressions

published version 1.0.1, 2 years ago0 dependents licensed under $MIT
6

A custom utility for converting URL path patterns to regular expressions, supporting dynamic segments, wildcards, and special character escaping.

published version 2.2.1, a year ago2 dependents licensed under $ISC
4

A lightweight JavaScript utility that facilitates convenient and safe composition of SQL statements by automatically managing and escaping variable parts.

published version 1.2.0, a year ago0 dependents licensed under $MIT
4

Sanitize JSON for possible malicious HTML

published version 1.0.0, 2 years ago0 dependents licensed under $MIT
1