@scalar/client-side-rendering
v0.1.0
Published
Client-side rendering for the Scalar API Reference using the CDN
Keywords
Readme
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-renderingUsage
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',
},
})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.
