# naizo.js — Complete Reference & Starter Templates for LLMs (`/llms-full.txt`) > Self-persisting HTML built-in database (`#naizodb`) and declarative list repeater (`[naizo-list]`) for Human + AI Agent workflows. npm package: `naizojs` | Website: https://naizo.js.org | Repository: https://github.com/nickosh/naizo | License: MIT. In Japanese, **naizō (ないぞう)** carries two homophonous meanings that define how `naizo.js` works: - **内蔵 (built-in / housed within):** Every `.html` file houses its own canonical JSON database (`` block on disk. It does **not** rewrite `` markup on disk during normal saves. - **To read human edits from disk:** Always parse ` ``` ### CDN & Local Script Options (`D17`, `D34`, `D39`) - **jsDelivr (readable):** `https://cdn.jsdelivr.net/npm/naizojs@latest/dist/naizo.js` - **jsDelivr (minified, ~12.4 KB gzipped):** `https://cdn.jsdelivr.net/npm/naizojs@latest/dist/naizo.min.js` - **unpkg:** `https://unpkg.com/naizojs@latest/dist/naizo.js` - **Pinned version:** replace `@latest` with a specific published version tag - **Local / offline:** `` (inside the `naizo` repository examples, use `../dist/naizo.js`) - **ESM import (side-effect free):** `import { Naizo, initNaizo } from 'naizojs';` - **Experimental / in-development (`main` branch `dist/naizo.js`):** `https://cdn.jsdelivr.net/gh/nickosh/naizo@main/dist/naizo.js` (unreleased; pair with the `@main` skill in Section 9) --- ## 3. Declarative HTML Attributes (`naizo` / `data-naizo`) Both short `naizo` / `naizo-*` attributes and HTML5 `data-naizo` / `data-naizo-*` aliases are supported everywhere (`D08`): | Short Attribute | HTML5 `data-*` Alias | Placement | Behavior | | ---------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `naizo="key"` | `data-naizo="key"` | ``, `

Milestones

``` ### Template 2: Zero-DOM-Wipe Master–Detail Workspace (`examples/notes.html`, `D40`) Never wipe and copy note text into a single shared ` ``` ### Template 3: Interactive Option Lab & Human Review Loop (`D45`) When helping a user compare design directions, layout options, architecture trade-offs, or copy variants: 1. Generate a temporary `naizo.js` comparison page (`design-lab.html`) binding option controls (`naizo="direction"`, `naizo="measure"`, `naizo="inspector_layout"`) and a review notes `