Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

trailimage/handlebars

Repository files navigation

npm package Build Status Code style Dependencies DevDependencies codecov

Usage

yarn add @toba/handlebars

Express

import { ExpressHandlebars } from '@toba/handlebars';
const ehb = new ExpressHandlebars();
app.engine(ehb.name, ehb.renderer);
app.set('views', './views');
app.set('view engine', ehb.name);

Koa

Fastify