Scalar Client-Side Rendering

Render the Scalar API Reference as static HTML using the CDN. No server-side dependencies required.
Installation
npm install @scalar/client-side-rendering
Usage
import { renderApiReference } from '@scalar/client-side-rendering'
const html = renderApiReference({
pageTitle: 'My API Reference',
config: {
url: 'https://registry.scalar.com/@scalar/apis/galaxy?format=json',
},
})
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.