Documentation

Learn the pieces.

Start with a package guide when you need concepts, lifecycle, security, TypeScript, or design boundaries. Use the API index when you already know what you need and want the fastest path to a public signature.

Observable state

white-label-model

Own object, array, or Map state with synchronous change notifications, deep mutation observation, and optional whole-state runtime validation.

Rendering and lifecycle

white-label-view

Render new output or adopt existing DOM through explicit browser or server lifecycles, with first-party tagged HTML and application-owned renderer choice.

Application events

white-label-mediator

A small synchronous standards-based EventTarget for exchanging named application intent without direct module coupling.

URL to application intent

white-label-router

Use one route contract across browser and server runtimes while preserving real links, scoped progressive enhancement, URL semantics, History API behavior, and requestable server routes.

Project creation

generator-white-label

Create a production-oriented TypeScript starter that composes the White Label packages with one canonical tagged-HTML template path.