JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://unpkg.com/handlebars@latest/dist/handlebars.js"></script>
<!-- 
If you need a specific version:
<script src="https://unpkg.com/[email protected]/dist/handlebars.js"></script> -->

<div id="output"></div>
<script type="template/handlebars" id="template">{{name}} ({{age}} years old)</script>

<script type="text/javascript">
	const level = Handlebars.logger.level;
  
  console.log(`In Handlebars.logger, \`level\` is a ${typeof level}`);
</script>

JavaScript

var template = Handlebars.compile(document.getElementById('template').innerHTML);

document.getElementById('output').innerHTML = template({name: 'Max', age: 38});