0.1.7 • Published 6 months ago

@scalar/sveltekit v0.1.7

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

6 months ago

0.1.6

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago