A template compiler for the glass-easel framework, a Web Components-based UI library. Version 0.19.0 compiles HTML templates into JavaScript render functions. It is built using Rust and compiled to WebAssembly for Node.js or browser environments. The compiler is tightly coupled with glass-easel core and is not intended for standalone use. Release cadence follows the main glass-easel project, with updates published on npm and GitHub. Key differentiators include WASM-based performance and integration with WeChat's glass-easel ecosystem.
npm install glass-easel-template-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a simple template string into a render function, demonstrating basic usage.
Use default import directly as a function: import compile from 'glass-easel-template-compiler'
Upgrade Node.js to >= 14 or use a polyfill.
Ensure glass-easel core is installed and configured.
Use ESM imports; do not use require().
Run `npm install glass-easel-template-compiler`.
Use `import compile from 'glass-easel-template-compiler'`.
No dependency data recorded yet.