Libraries

Hyper-Dank packages are small shared contracts for Hono, HTMX, Bun, and server-rendered JSX apps. They keep mechanics reusable while product behaviour stays in the consuming application.

Library docsLibraries

The libraries deliberately stop at reusable boundaries: component primitives, database lifecycle contracts, Hono/HTMX transport helpers, and script automation. App-owned language, routes, permissions, schemas, repositories, fixtures, and release choices stay local.

Install all packages from npm:

npm install \
  @macavitymadcap/hyper-dank-ui \
  @macavitymadcap/hyper-dank-data \
  @macavitymadcap/hyper-dank-transport \
  @macavitymadcap/hyper-dank-automation
npm install hono typescript

For TypeScript, Hono JSX, CSS import, optional peers, and a minimal package smoke, see Consumer setup. For the first public package set, registry integrity hashes, and trusted-publishing approval notes, see Publication evidence.

Packagenpm
@macavitymadcap/hyper-dank-uinpm package
@macavitymadcap/hyper-dank-datanpm package
@macavitymadcap/hyper-dank-transportnpm package
@macavitymadcap/hyper-dank-automationnpm package

Shared Boundaries

PackageOwnsLeaves to Apps
UIGeneric JSX components, class contracts, HTMX prop surfaces, baseline CSS.Product layout, feature organisms, wording, route paths, permissions.
DataProvider lifecycle types, migration store contract, ordered migration runner, lifecycle tests.Domain schemas, repositories, adapter setup, transaction policy.
TransportRequest form helpers, route parameter normalisation, safe error strings, action redirects.Auth, permissions, services, validation rules, route composition.
AutomationScript mechanics for processes, GitHub, checks, local servers, browsers, PR screenshots, Pa11y.App fixtures, smoke journeys, deployment targets, release decisions.

Consumption Pattern

Use a package when it removes repeated mechanics without hiding the app contract. Keep imports close to the consuming boundary, add app-specific wrappers only when they clarify product behaviour, and cover package use through consumer-style compatibility tests.