@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.
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
- 📖 Docs: https://objectstack.ai/docs
- 📚 API Reference: https://objectstack.ai/docs/references
License
Apache-2.0 © ObjectStack
Related Packages
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 | |
| 9.10.0 | Apache-2.0 | |
| 9.9.1 | Apache-2.0 | |
| 9.9.0 | Apache-2.0 | |
| 9.8.0 | Apache-2.0 | |
| 9.7.0 | Apache-2.0 | |
| 9.6.0 | Apache-2.0 | |
| 9.5.1 | Apache-2.0 | |
| 9.5.0 | Apache-2.0 | |
| 9.4.0 | Apache-2.0 | |
| 9.3.0 | Apache-2.0 | |
| 9.2.0 | Apache-2.0 | |
| 9.1.0 | Apache-2.0 | |
| 9.0.1 | Apache-2.0 | |
| 9.0.0 | Apache-2.0 | |
| 8.0.1 | Apache-2.0 | |
| 8.0.0 | Apache-2.0 | |
| 7.9.0 | Apache-2.0 | |
| 7.8.0 | Apache-2.0 | |
| 7.7.0 | Apache-2.0 | |
| 7.6.0 | Apache-2.0 | |
| 7.5.0 | Apache-2.0 | |
| 7.4.1 | Apache-2.0 | |
| 7.4.0 | Apache-2.0 | |
| 7.3.0 | Apache-2.0 | |
| 7.2.1 | Apache-2.0 |
Showing the latest 30 of 82. See every release on npm