import StringTemplater from "path/to/StringTemplater.module.js";
const stringsToMap = {
"year": new Date().getFullYear()
};
const stringTemplater = new StringTemplater(stringsToMap);
stringTemplater.apply();
<body>
<span :str>©{{year}} - ClockworkSquirrel</span>
</body>
Produces the following output:
©2020 - ClockworkSquirrel