Language Strings
Interpolate safely in several languages using ES6 template literals.
const strings = stringshtml`<div></div>`stringsshell`echo | xargs...`stringscss`content: ""`stringscss`background: url(data:image/svg+xml,)`stringsurl`/foo/bar/`
You can also require the functions individually to save space if you're writing frontend code.
const html = html``
You can mark unsafe values that are to be put directly into the string by using require('language-strings').unsafe
or require('language-strings/unsafe')()
const html = const unsafe = html``