@gaussian-id/meridian-nuxt
| Install | |
|---|---|
npm install @gaussian-id/meridian-nuxt |
|
| Latest Version: | 0.1.0 |
| Vue: | 3 |
| License: | Apache-2.0 |
| Last Updated: | Oct 13, 2026 |
| Links: | GitHub · npm |
@gaussian-id/meridian-nuxt
Gauss Meridian for Nuxt: a Nuxt module with a server client, a forwarding handler and a keyless composable. It builds on @gaussian-id/meridian.
Status: Public preview, v0.1.0. Peer dependencies:
nuxt >= 3.13,h3 >= 1.12 < 2.
Install
pnpm add @gaussian-id/meridian @gaussian-id/meridian-nuxt
Usage
Add the module and set the private runtime config NUXT_MERIDIAN_URL and NUXT_MERIDIAN_KEY (runtimeConfig.meridian.url and .key). They are never sent to the browser.
// nuxt.config.ts
export default defineNuxtConfig({ modules: ['@gaussian-id/meridian-nuxt'] })
// server/api/meridian/chat.post.ts
import { defineMeridianHandler } from '@gaussian-id/meridian-nuxt/server'
export default defineMeridianHandler({ authorize: async request => (await getSession(request)) !== null })
In components, call useMeridian(); it is preset to /api/meridian/chat and is auto-imported by the module. In Nitro server routes, useMeridianServerClient() (from @gaussian-id/meridian-nuxt/server) gives a server client built from the runtime config.
Entry points
| Entry | Main export |
|---|---|
@gaussian-id/meridian-nuxt |
the Nuxt module |
@gaussian-id/meridian-nuxt/server |
defineMeridianHandler, useMeridianServerClient |
@gaussian-id/meridian-nuxt/composables |
useMeridian |
Documentation
The response contract, error codes, streaming and the forwarding rules are in the full documentation.
Licence
Apache-2.0. The Meridian logo is a Gaussian trademark; the Apache-2.0 licence covers the code, not the logo.
Related Packages
Nuxt integrator for Qelos: server middleware/module that identifies the user and...
Nuxt module for Pinecone vector database — provides a server-side usePinecone()...
Nuxt module for A vs B feature flags: one line in nuxt.config, auto-imported com...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.0 | ^3.0 | Apache-2.0 |
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.0-stage |