A tiny template language for escaping substrings of longer strings.
There are no variables in the Substring template language. It is a tiny utility for escaping and trimming substrings.
npm i substring-template-language --save
var subTemplate = require('substring-template-language');
// Escaping
subTemplate('Lorem <br> ipsum dolor {{<br>}} sit amet'); // 'Lorem <br> ipsum dolor <br> sit amet'
// Escaping and trimming
subTemplate('Lorem <br> ipsum dolor {{! <br> }} sit amet'); // 'Lorem <br> ipsum dolor <br> sit amet'