tpz

0.0.1 • Public • Published

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.

Package Sidebar

Install

npm i tpz

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • maxart