Skip to content

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

License

Notifications You must be signed in to change notification settings

Drulac/express-tl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published