Play with JsFiddle demo page
$ npm install jsmart --save
var fs =jSmart =tpl = fscompiledTemplate = tploutput = compiledTemplate;// output will be "Hello world"console;
$ node demo.js
<script id="test_tpl" type="text/x-jsmart-tmpl">Hello $name</script>
<script>var content = documentinnerHTML;var compiled = content;var output = compiled;// output will be "Hello world"</script>
Pull request Best is open a issue first. Then send a pull request referencing the issue number. Before sending pull request make sure you add test case for the fix. Make sure all test cases are passing and eslint tests pass.
ES Lint tests:-
Run lint, run test, build, compress, distribution package and update examples in one command:-
Project originally was created by miroshnikov. Since author was not active on project very frequently. I have forked and planned on pushing further improvements and features on my own fork.