14 packages found
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
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.
A cross-platform library for safely passing strings through shells
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.
- RegExp
- assemble
- atpl
- cache
- compile
- consolidate
- content
- data
- delimiters
- delims
- demlim
- demlimiter
- demlimiters
- demlims
- View more
Utility functions for working with regular expressions
SQL like prepared statements for regular expressions
ES6 template literal tag to encode URI components
Escape a string for a lucene query. Effectively removes all special characters.
Utility methods for escaping according to OWASP.
ES6 Template string function for encoding text to HTML
Converts XML AST structures (like the ones generated by xml-reader) to XML strings
- formatter
- indent
- output
- printer
- render
- renderer
- serialize
- serializer
- string
- stringify
- tostring
- writer
- xml
- document
- View more
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
Parses commands with a specified prefix, delimited by spaces, with support for double & single quotations, and no need for escaping.
A small package to escape spacing chacaters (e.g. newlines) in strings.