{"library":"oc-template-jade-compiler","title":"OC Jade Template Compiler","description":"Compiler module for OC (OpenComponents) that compiles Jade/Pug templates used by oc-template-jade components. Version 7.5.0 is the latest stable release with intermittent updates. Key differentiators: provides legacy support for both .jade and .pug files; part of the OC micro-frontends ecosystem; ships TypeScript types for safer integration. Known for version mismatches with OC core and template runtime packages.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install oc-template-jade-compiler"],"cli":{"name":"oc","version":null}},"imports":["import { compile } from 'oc-template-jade-compiler'","import { JadeCompiler } from 'oc-template-jade-compiler'","import ocTemplateJadeCompiler from 'oc-template-jade-compiler'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { compile } from 'oc-template-jade-compiler';\nconst template = 'h1 Hello #{name}';\nconst rendered = compile(template)({ name: 'World' });\nconsole.log(rendered); // '<h1>Hello World</h1>'","lang":"typescript","description":"Compiles a Jade/Pug template string with locals and logs the rendered HTML.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}