Factory Transpiler is a JavaScript library that converts a custom, CSS-like syntax (Factory) into HTML. It supports normal tags, singleton elements, text nodes, auto-formatting, and error detection. Version 2.4.1 is current, with a simple API: one function call to transpile Factory strings to HTML. It differentiates from template engines like Pug by offering a lighter, dependency-free approach focused purely on syntax transformation, with no runtime templating or data binding.
npm install factory-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing the transpile function and converting Factory syntax to HTML.
Ensure all tags follow the pattern: tagname(attr1="val1") { child } or tagname() for singletons.Run 'npm install factory-transpiler' and ensure your project is ESM (use 'type':'module' in package.json).
No dependency data recorded yet.