Registry / web-framework / component-hogan

component-hogan

JSON →
library0.0.1jsnpmunverified

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.

npm install component-hogan
INSTALL
IMPORT
SIG · COMPONENT-HOGAN
C
component-hogan
web-frameworkjavascriptv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Configure component.json to include Mustache templates and build with the plugin.

// In your component.json { "templates": ["template.stache", "another.mustache"] } // Build command component build --use component-hogan
Debug
Known issues
deprecatedPackage is unmaintained; component/builder.js has been superseded by modern tools like webpack or Parcel.
fix
Migrate to a modern build system with Mustache support (e.g., using hogan.js directly or a webpack loader).
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'component-hogan'
Package not installed or missing from node_modules.
fix
Run `npm install component-hogan` and ensure it is listed in your project's dependencies.
Error: must be using component >= 0.13.0 to use plugins
Version of component/builder is too old.
fix
Update component to version 0.13.0 or later: `npm update component-builder`.
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies
hogan.jsrequiredRuntime dependency for template compilation
component-builderrequiredPeer dependency: plugin is used with component builder
Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
component-hogan — npm install component-hogan · libregistry