0.0.1 • Published 10 years ago
tpz v0.0.1
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.
0.0.1
10 years ago