tpz
v0.0.1
Published
Templz engine for Express
Downloads
8
Maintainers
Readme
tpz
Templz view engine for Express.
Installation
Inside your Express project root directory:
$ npm install tpz --save
Usage
var express = require("express");
var app = express();
app.set("view engine", "tpz");
Now any file with extension .tpz
will be rendered using Templz.
If you want to use Templz to render files with different extensions, you can always do this:
// .hjs is normally associated with Hogan, which is compatible with Templz
app.engine("hjs", require("tpz").renderFile);
License
MIT. See LICENSE.