@gabortorma/feathers-nitro-adapter

Nitro adapter plugin for FeathersJS API
1,852 2
Install
npm install @gabortorma/feathers-nitro-adapter
Latest Version:0.6.0
License:MIT
Last Updated:Apr 23, 2025
Links: GitHub  ·  npm
Maintainer: gabortorma

feathers-nitro-adapter

npm version npm downloads License code style

Nitro adapter plugin for FeathersJS API

🏀 Online playground

Install

pnpm install -D @gabortorma/feathers-nitro-adapter

Usage in Nuxt v3

Create a new nitro plugin file in server/plugins folder:

Express adapter example:

// server/plugins/feathers-express.ts
import { createFeathersExpressAdapterNitroPlugin } from '@gabortorma/feathers-nitro-adapter'
import { app } from 'feathers-api/src/app' // import your feathers app from workspace

export default createFeathersExpressAdapterNitroPlugin(app)

See Express fixture in test cases.

Koa adapter example:

// server/plugins/feathers-koa.ts
import { createFeathersKoaAdapterNitroPlugin } from '@gabortorma/feathers-nitro-adapter'
import { app } from 'feathers-api/src/app' // import your feathers app from workspace

export default createFeathersKoaAdapterNitroPlugin(app)

See Koa fixture in test cases.

Socket.io adapter example:

// server/plugins/feathers-socket.io.ts
import { createFeathersSocketIoAdapterNitroPlugin } from '@gabortorma/feathers-nitro-adapter'
import { app } from 'feathers-api/src/app'

export default createFeathersSocketIoAdapterNitroPlugin(app)

See Socket.io fixture in test cases.

More example

You can check the playground folder for complex example with rest and socket.io transport and authentication.

Related Packages

@vevedh/feathers-nitro

FeathersJS integration for Nuxt/Nitro with Express, Koa, Socket.IO, and multi-in...

1,196 0
@allturko/nabiz-node

Nabız Hub için Node.js raporlayıcı — sunucu hataları, SSR hataları, yavaş istekl...

1,336 0
nuxt-feathers-zod

Nuxt 4 module for FeathersJS v5 with embedded or remote mode, Zod-first services...

11,111 1
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
0.6.0 MIT
0.5.0 MIT
0.4.4 MIT
0.4.3 MIT
0.4.2 MIT