Web component compiler and package manager that compiles HTML-declared web components into separate JavaScript, CSS, and HTML files. Version 0.3.6 is the latest stable release, with infrequent updates. It uses a plugin architecture with multiple plugin types (core, protocol, transform, generator) and runs on Node.js >=4.0. Differentiators include full component tree transformation, custom plugin support, and multiple resolver protocols.
npm install trucks-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: compile a component HTML file with transforms and output directory.
Use require() instead of import.
Wrap with Promise if async/await needed.
Ensure Node.js version >=4.0.
Run 'npm install trucks-compiler'.
Use 'const trucks = require("trucks-compiler");'.No dependency data recorded yet.