Template rendering middleware for koa (hbs, swig, pug, anything)
Template rendering middleware for koa@2. koa-views is using consolidate under the hood. You must still install the engines you wish to use, add them to your package.json dependencies.
koa-hbs is middleware. We stash an instance of koa-hbs for you in the library so you don't have to manage it separately. Configure the default instance by passing an options hash to #middleware. To render a template then, just yield this.render('templateName').