{{interpolate.js}}

Interpolate JS variables into HTML, without any framework

Usage

Add this to your website

<script src="https://jscdn.glitch.me/cdn/interpolate.js" crossorigin="anonymous"></script>

Then, use interpolate.js by using the variable name in HTML:

{{variableName}}

Please note that interpolate.js does not automaticly change your variables. For example, if you set myvar to hi, use {{myvar}} and then update your code, the text will be the same.