Skip to content
fastest, smallest and simplest template engine, using JS's literal template feature, in an express template engine
Branch: master
Clone or download
Latest commit 2716c58 Jan 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example first commit Jan 7, 2018
.gitignore first commit Jan 7, 2018
LICENSE first commit Jan 7, 2018
README.md format Jan 7, 2018
index.js first commit Jan 7, 2018
package-lock.json 1.0.1 Jan 7, 2018
package.json 1.0.1 Jan 7, 2018

README.md

express-tl

fastest, smallest and simplest template engine, using JS's literal template feature, in an express template engine

This is just a simple wrapper for Express, around template-literal.

Use it

run npm i express-tl

and append it to your app code :

const tl = require('express-tl')

app.engine('tl', tl)
app.set('views', './views') // specify the views directory
app.set('view engine', 'tl') // register the template engine

Watch template-literal for benchmark and to know how to use

You can see an example app in example/

Donate

You can make me a donation to support my work :

You can’t perform that action at this time.