jfunt
Javascript's FUNction as Template
install
npm install jfunt
example
var render = var beautify = html {withthis return } {withthis return } {withthis return } var page = console
then you will get following output:
<html>
<head>
<title>home</title>
<script src="/javascript/jquery.js"></script>
<script scr="/javascript/ng.js"></script>
</head>
<body>
<h1>Welcome to my little example</h1>
<p>Hello!</p>
<div id="footer">
<p>Copyright (c) anonymous</p>
</div>
</body>
</html>