Back to Scalar

Scalar Core

packages/core/README.md

latest1.1 KB
Original Source

Scalar Core

Shared libraries for our packages, specifically @scalar/api-reference and @scalar/api-client.

Installation

bash
npm install @scalar/core

Usage

ts
import { getHtmlDocument } from '@scalar/core/libs/html-rendering'

const html = getHtmlDocument({
  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.