aurelia-node-templating-engine
Compile Aurelia templates from node!
Why?
I needed to build a templating engine for an emailer service, and why not continue using Aurelia for it??
Installation
npm install aurelia-node-templating-engine
Use
;; ; ; ;
outputs
<div> <span>hello world!</span> <ul> <li>jim</li><li>bob</li><!--anchor--> </ul></div>first template compile is longestcompile view/view-model: 75.626ms <div> <span>hello again world!</span> <ul> <li>sue</li><li>jim</li><!--anchor--> </ul></div>compile view/view-model: 4.532ms<div> <span>goodbye world!</span> <ul> <li>bob</li><li>jim</li><!--anchor--> </ul></div>compile view/view-model: 2.923ms