escape-html-template-tag

Template tag formatter

A utility for escaping and formatting string literals in template tags to prevent XSS vulnerabilities

Tag literal strings with this function to html escape interpolated values

GitHub

31 stars
4 watching
7 forks
Language: TypeScript
last commit: almost 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
antoniovdlc/html-template-tagA module for compiling and escaping HTML template strings with string interpolation64
ruimarinho/url-escape-tagA utility function to safely escape url parameters for use in template literals14
pallets/markupsafeProtects against injection attacks by safely escaping untrusted strings in HTML and XML markup637
jonsmithers/vim-html-template-literalsSyntax highlighting and indentation support for HTML template literals in JavaScript73
lgrignon/jsweet-jaxrs-server-exampleA template for building a JAX-RS web API with JSweet and Knockout JS1
sgtpep/csstagA lightweight CSS-in-JS library using tagged templates with CSS Modules18
bredele/tag-reduceA library that reduces complex template literals to a single value10
marcodpt/tintA template engine that compiles natural HTML templates into hyperscript functions8
bengl/tageA utility to transform functions into reusable template tags5
jeanfredrik/yaml-tagA library that enables human-friendly YAML parsing in JavaScript template literals8
will-wow/svelte-typescript-templateA template for building Svelte 3 applications with TypeScript support and testing tools5
jbmusso/gremlin-template-string Generates Gremlin scripts with bound parameters using ES6 template strings17
kianenigma/polkadot-js-api-ts-templateProvides a starting point for building API integrations with TypeScript on top of the Polkadot API19
medikoo/es6-template-stringsLibrary to compile and resolve template strings as specified in ES6 syntax79
gmarty/xgettextTools for extracting translatable strings from source code written in template languages.77