0.1.7 • Published 11 months ago

@scalar/sveltekit v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Scalar for SvelteKit

Version Downloads License Discord

A SvelteKit integration for the Scalar API Reference

Installation

npm install @scalar/sveltekit

Usage

// routes/+server.ts
import { ScalarApiReference } from '@scalar/sveltekit'
import type { RequestHandler } from './$types'

const render = ScalarApiReference({
  url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
})

export const GET: RequestHandler = () => {
  return render()
}

Community

We are API nerds. You too? Let’s chat on Discord: https://discord.gg/scalar

License

The source code in this repository is licensed under MIT.

0.1.7

11 months ago

0.1.6

12 months ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago