@hubql/elysia
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Hubql Client for Elysia

Example usage of Hubql Client in an Elysia server.

Installation

npm install @hubql/elysia

Usage

Set up Elysia

Set up Elysia OpenAPI

Pass OpenAPI JSON URL to your hubqlClient

import { hubqlClient } from '@hubql/elysia'

.use(
    hubqlClient({
        openAPIDoc: {
            url: '/swagger/json',
        },
    })
)

Package Sidebar

Install

npm i @hubql/elysia

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

8.66 kB

Total Files

6

Last publish

Collaborators

  • avepha
  • tobias-hubql