Skip to content

Packages

AsiJS keeps its core in a single package (asijs) and ships integrations as separate packages. The core stays dependency-free and Bun-first; adapters and tools are opt-in.

Ecosystem overview

Packagenpm namePurposeDocs
Next.js Adapterasijs-nextUse AsiJS routing inside Next.js App Router & Pages Router
Astro Adapterasijs-astroAsiJS endpoints & middleware inside Astro
Remix Adapterasijs-remixAsiJS loaders/actions inside Remix
SvelteKit Adapterasijs-sveltekitAsiJS hooks & server routes inside SvelteKit
MCP Serverasijs-mcpModel Context Protocol server (tools, resources, prompts, workflows)
OpenTelemetryasijs-opentelemetryTraces, metrics & logs via OTel — one plugin
ESLint Plugineslint-plugin-asijsRoute hygiene rules for AsiJS projects
VS Code Extensionvscode-asijsRoute explorer, snippets, templates, debugging, diagnostics
Vite Dev Serverasijs-viteAsiJS backend inside a Vite dev server — one port, HMR bridge, Rolldown SSR build
React (RSC)asijs-reactReact Server Components for AsiJS — Flight, streaming SSR + hydration
GraphQLgraphql-asijsCode-first GraphQL — TypeBox → SDL, WS subscriptions, Federation, DataLoader
MiyoCSSmiyocssSSR-first utility CSS + SVG engine (framework-agnostic)
TOONtoon-asijsTOON (token-optimized LLM format) as a native DataFormat — parseBody/setFormat out of the box

Design principles

  1. Framework adapters never re-implement AsiJS. Each adapter converts the host framework's request into a standard Request, calls app.handle(), and maps the Response back. Every AsiJS feature — validation, middleware, plugins, error pages — works unchanged inside the host framework.

  2. Optional peer dependencies. asijs itself has zero runtime dependencies. Integration packages only require what they actually use: asijs-mcp needs asijs, asijs-opentelemetry needs @opentelemetry/api (SDK packages are optional and degrade gracefully).

  3. The core is Bun-first; adapters are host-first. If you use AsiJS with Next.js, you're still running Next.js — the adapter only owns the API surface you point at it.

Installing a package

bash
# Next.js
bun add asijs-next

# Astro
bun add asijs-astro

# Remix
bun add asijs-remix

# SvelteKit
bun add asijs-sveltekit

# MCP
bun add asijs-mcp

# OpenTelemetry
bun add asijs-opentelemetry @opentelemetry/api

# ESLint
bun add -d eslint-plugin-asijs

# Vite dev server
bun add asijs-vite

# React Server Components
bun add asijs-react react react-dom react-server-dom-webpack

# GraphQL
bun add graphql-asijs graphql

# MiyoCSS
bun add miyocss

# TOON (LLM-optimized data format)
bun add toon-asijs

The VS Code extension (vscode-asijs) is installed from the Marketplace, not npm — see its page.

Released under the MIT License.