Boundaries & Non-Goals

What json-to-spec is NOT.

By maintaining strict boundaries, `json-to-spec` remains zero-dependency, ultra-lightweight, and universally portable.

🚫

NOT a DOM Renderer

It does not call document.createElement or touch the browser DOM. This keeps it completely server- and edge-friendly. Rendering is delegated to json-to-dom.

🚫

NOT a Virtual DOM

It does not maintain a reactive Virtual DOM tree or diffing algorithms. When data updates, re-running compile() takes less than 0.4ms.

🚫

NOT a CSS Framework

It does not provide opinionated styling or themes. You can use Tailwind CSS, Bootstrap, Bulma, vanilla CSS, or custom utility tokens.

🚫

NOT an Imperative Eval Engine

It does not execute arbitrary JavaScript or use eval(). Operations are declarative JSON only, guaranteeing safety and strict CSP compliance.