Shared libraries for our packages, specifically @scalar/api-reference and @scalar/api-client.
npm install @scalar/core
import { getHtmlDocument } from '@scalar/core/libs/html-rendering'
const html = getHtmlDocument({
url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
})
We are API nerds. You too? Let’s chat on Discord: https://discord.gg/scalar
The source code in this repository is licensed under MIT.