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: 6 days ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
antoniovdlc/html-template-tag A module for compiling and escaping HTML template strings with string interpolation 64
ruimarinho/url-escape-tag A utility function to safely escape url parameters for use in template literals 14
pallets/markupsafe Protects against injection attacks by safely escaping untrusted strings in HTML and XML markup 636
jonsmithers/vim-html-template-literals Syntax highlighting and indentation support for HTML template literals in JavaScript 72
lgrignon/jsweet-jaxrs-server-example A template for building a JAX-RS web API with JSweet and Knockout JS 1
sgtpep/csstag A lightweight CSS-in-JS library using tagged templates with CSS Modules 18
bredele/tag-reduce A library that reduces complex template literals to a single value 10
marcodpt/tint A template engine that compiles natural HTML templates into hyperscript functions 8
bengl/tage A utility to transform functions into reusable template tags 5
jeanfredrik/yaml-tag A library that enables human-friendly YAML parsing in JavaScript template literals 8
will-wow/svelte-typescript-template A template for building Svelte 3 applications with TypeScript support and testing tools 5
jbmusso/gremlin-template-string Generates Gremlin scripts with bound parameters using ES6 template strings 17
kianenigma/polkadot-js-api-ts-template Provides a starting point for building API integrations with TypeScript on top of the Polkadot API 19
medikoo/es6-template-strings Library to compile and resolve template strings as specified in ES6 syntax 79
gmarty/xgettext Tools for extracting translatable strings from source code written in template languages. 77