0.0.2 • Published 5 years ago
dnt3 v0.0.2
Embedded JavaScript templates
Installation
$ npm install dnt2
Features
- Control flow with
<< >>
- Escaped output with
<= =>
Example
<% if (name === "Teo Duong") { %>
<h2><=name=></h2>
<% } %>
Usage with express
app.set('views', './views');
app.set('view engine', 'dnt2');
DNT2 Embedded JavaScript templates copyright 2020 thanhduongbkdn2012@gmail.com
0.0.2
5 years ago