Δt dynamictemplate Compiler v0.2.1: a static HTML to Δt template compiler that automates separation of design (mockup HTML) and functionality. It compiles HTML masks that templates can use as selectors, ensuring template output matches the mockup structure. Requires dt-parser, dt-selector, and dynamictemplate as peer dependencies. Not actively developed; last release 2012. Differentiator: masks allow designer-driven updates without breaking templates, unlike manual template writing.
npm install dt-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a mockup HTML file into a mask JavaScript file for use with dynamictemplate.
Consider alternatives like jsdom or cheerio for HTML transformation.
Double-check class names and selectors against the mockup.
Use --legacy-peer-deps or install deps manually.
Use require() or a bundler that supports CJS.
npm install dt-parser@>=0.0.1
npm install dt-selector@>=0.0.4
npm install dynamictemplate@>=0.7.0