{"id":25111,"library":"component-hogan","title":"component-hogan","description":"A plugin for component/builder.js that transpiles Mustache templates into JavaScript using Hogan. Version 0.0.1, no recent releases. It is an older tool specific to the component build system (predecessor to Duo) and is largely unmaintained. Differentiators: integrates with component's build pipeline to precompile Mustache templates.","status":"deprecated","version":"0.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/ericgj/component-hogan","tags":["javascript","mustache","template","component"],"install":[{"cmd":"npm install component-hogan","lang":"bash","label":"npm"},{"cmd":"yarn add component-hogan","lang":"bash","label":"yarn"},{"cmd":"pnpm add component-hogan","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Runtime dependency for template compilation","package":"hogan.js","optional":false},{"reason":"Peer dependency: plugin is used with component builder","package":"component-builder","optional":false}],"imports":[],"quickstart":{"code":"// In your component.json\n{\n  \"templates\": [\"template.stache\", \"another.mustache\"]\n}\n\n// Build command\ncomponent build --use component-hogan","lang":"javascript","description":"Configure component.json to include Mustache templates and build with the plugin."},"warnings":[{"fix":"Migrate to a modern build system with Mustache support (e.g., using hogan.js directly or a webpack loader).","message":"Package is unmaintained; component/builder.js has been superseded by modern tools like webpack or Parcel.","severity":"deprecated","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `npm install component-hogan` and ensure it is listed in your project's dependencies.","cause":"Package not installed or missing from node_modules.","error":"Cannot find module 'component-hogan'"},{"fix":"Update component to version 0.13.0 or later: `npm update component-builder`.","cause":"Version of component/builder is too old.","error":"Error: must be using component >= 0.13.0 to use plugins"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}