{"library":"twigjs-loader","type":"library","category":null,"description":"Webpack loader for compiling Twig.js templates. Current stable version is 1.0.3, released with support for Node.js >=8. It integrates Twig templates into webpack builds, allowing template imports in JavaScript and TypeScript. Key differentiators: provides an Express view engine helper, supports Hot Module Replacement, and offers a customizable renderTemplate option for advanced compilation control. Ships TypeScript type definitions. Peer dependency on twig 1.x.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","twig","twig.js","template","webpack","loader","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install twigjs-loader","imports":["import indexView from './index.twig'","import { ExpressView } from 'twigjs-loader'","use: { loader: 'twigjs-loader', options: { renderTemplate(twigData, dependencies, isHot) { ... } } }"]},{"cmd":"yarn add twigjs-loader","imports":[]},{"cmd":"pnpm add twigjs-loader","imports":[]}],"homepage":null,"github":"https://github.com/megahertz/twigjs-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/twigjs-loader","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/twigjs-loader/compatibility"}}