@objectstack/nuxt

Nuxt adapter for ObjectStack — Nitro server routes for the ObjectStack REST API.
12,329 76
Install
npm install @objectstack/nuxt
Latest Version:11.0.0
License:Apache-2.0
Last Updated:Oct 24, 2026
Links: GitHub  ·  npm
Maintainer: steedos-zhuangjianguo

@objectstack/nuxt

Nuxt adapter for ObjectStack — Nitro/h3 server routes for the auto-generated REST API.

npm License: Apache-2.0

Overview

Provides an h3 router factory that exposes all ObjectStack dispatcher routes, mountable inside server/api/[...].ts of any Nuxt 3 application (or directly in a standalone Nitro app).

Installation

pnpm add @objectstack/nuxt

Quick Start

// server/api/[...objectstack].ts
import { createH3Router } from '@objectstack/nuxt';
import { kernel } from '~/server/kernel';

export default createH3Router({ kernel, prefix: '/api' }).handler;

Key Exports

Export Kind Description
createH3Router(options) function h3 Router with dispatcher routes installed.
NuxtAdapterOptions interface { kernel, prefix? }.

Middleware order

Register Nuxt server middleware that rewrites or compresses responses before this router. Do not wrap ObjectStack routes with defineEventHandler validators.

When to use

  • ✅ Nuxt 3 / Nitro applications.
  • ✅ Any h3-based server (used directly via createH3Router).

When not to use

  • ❌ Nuxt 2 is not supported.

Related Packages

Links

License

Apache-2.0 © ObjectStack

Related Packages

@danceroutine/tango-adapters-nuxt

Nuxt Nitro adapter for Tango viewsets

6,130 2
@iga-pages/nuxt

IGA Pages adapter module for Nuxt

1,005
@truxie/nitro

Nitro adapter for truxie — controller dispatcher and handler utilities

1,077
nitro-test-utils

Testing toolkit for Nitro full-stack servers

211,117 112
nuxt-authorization

Authorization module for managing permissions on the Nuxt app and the Nitro serv...

188,002 360

Version History

Version Released License
11.0.0 Apache-2.0
10.3.0 Apache-2.0
10.2.0 Apache-2.0
10.0.0 Apache-2.0
9.11.0 Apache-2.0