Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ehp

ahmed-masud14MIT1.0.4

A simple express html pass-thru view

express, views, html, passthru, passthrough

readme

ehp

Simple Express HTML passthru view for those times when you need a quick static view and express insists on jade or ejs

Installation

$ npm install ehp

Features

* in-memory caching of static pages

Usage


    app.engine('html', require('ehp').renderFile);
    app.set('view engine', 'html');

Licensing

Licensed under MIT


Copyright (C) 2015 Ahmed Masud ahmed.masud@trustifier.com