{"library":"koa-pug","type":"library","category":null,"description":"Koa-pug is a Pug (formerly Jade) template engine middleware for Koa (v1 and v2) JavaScript web frameworks. Current stable version is 5.1.1, released in 2019, with infrequent updates (last commit 2019). It integrates Pug templates into Koa by binding ctx.render() and supports custom view paths, global helpers via helperPath, and standalone rendering. Key differentiators: seamless Koa integration, helper auto-loading from directories, and Pug@3 support. Alternatives like @ladjs/koa-pug-view are more actively maintained.","language":"javascript","status":"maintenance","version":"5.1.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-pug","imports":["const Pug = require('koa-pug')","import Pug from 'koa-pug'","const Pug = await import('koa-pug')"]},{"cmd":"yarn add koa-pug","imports":[]},{"cmd":"pnpm add koa-pug","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-pug","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/koa-pug/compatibility"}}