New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@codai/axiom-emitters-web

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codai/axiom-emitters-web

AXIOM v2 template emitter `web`: small, deterministic, golden-stack file templates (Next 16 route handler / server action, Hono 4 route, Drizzle pgTable, Biome config, Tailwind v4 globals, README section) for `template` plan sources

latest
Source
npmnpm
Version
2.4.0
Version published
Maintainers
1
Created
Source

@codai/axiom-emitters-web

The web@2.0.0 template emitter for AXIOM template plan sources: seven small, pure, deterministic file templates on the golden stack — not an app scaffolder.

TemplateEmits
next.route-handlerNext 16 App Router route.ts (NextRequest → Response.json, optional Zod body check)
next.server-action"use server" action with Zod v4 + useActionState state shape
hono.routeHono 4 route module
drizzle.tablepgTable with identity id, withTimezone timestamps
biome.configBiome 2.5 biome.json (this repo's style)
tailwind.globalsTailwind v4 CSS-first globals.css
readme.sectionone ## title markdown section
import { compilePlan, createEmitterRegistry } from "@codai/axiom-plan";
import { webEmitter } from "@codai/axiom-emitters-web";

const { bundle } = await compilePlan(plan, { emitters: createEmitterRegistry([webEmitter]) });
// bundle.manifest.toolchain.emitters → { web: "2.0.0" }

Golden outputs in src/__golden__/*.txt are the spec; pnpm run update-golden regenerates them. Any output change must bump WEB_EMITTER_VERSION (it is hashed into every manifest digest). Full contract, params and error codes: docs/guides/emitters.md.

Keywords

axiom

FAQs

Package last updated on 27 Sep 2026

Related posts