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

Latest commit

 

History

History
26 lines (20 loc) · 953 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 953 Bytes

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