@hzgotb/apim-nuxt

Nuxt module for typed API collections and the apim compile-time macro
Install
npm install @hzgotb/apim-nuxt
Latest Version:0.0.1
Vue:3
License:MIT
Last Updated:Oct 2, 2026
Links: GitHub  ·  npm
Maintainer: hzgotb

@hzgotb/apim-nuxt

Nuxt 4 module for file-based API modules, typed apim(...) requests, and ApiModuleMeta-driven request and response inference.

Install

pnpm add @hzgotb/apim-nuxt

Configure

export default defineNuxtConfig({
  modules: ['@hzgotb/apim-nuxt'],
  apim: {
    collections: ['modules/demo-api'],
  },
})

Create API modules with defineApiModule(...), then place Nitro-compatible handlers under their configured handler directories.

See the Nuxt package documentation for setup, concepts, and API reference.

Version History

Version Released Vue License
0.0.1 ^3.0 MIT