0.1.7 • Published 7 months ago

@scalar/sveltekit v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

7 months ago

0.1.6

7 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago