0.1.7 • Published 10 months ago

@scalar/sveltekit v0.1.7

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

10 months ago

0.1.6

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago