Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@scalar/core

scalar1mMIT0.3.34TypeScript support: included

Shared libraries for our packages

readme

Scalar Core

Version Downloads License Discord

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

Installation

npm install @scalar/core

Usage

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.

changelog

@scalar/core

0.3.34

Patch Changes

Updated Dependencies

0.3.33

Patch Changes

Updated Dependencies

0.3.32

Patch Changes

Updated Dependencies

0.3.31

Patch Changes

Updated Dependencies

0.3.30

Patch Changes

Updated Dependencies

0.3.29

Patch Changes

Updated Dependencies

0.3.28

Patch Changes

Updated Dependencies

0.3.27

Patch Changes

0.3.26

Patch Changes

0.3.25

Patch Changes

0.3.24

Patch Changes

0.3.23

Patch Changes

0.3.22

Patch Changes

0.3.21

Patch Changes

0.3.20

Patch Changes

0.3.19

Patch Changes

  • 1e01464: Adds a new ApiReferenceConfigWithSource type and make the base ApiReferenceConfig type agnostic of any document sources.
  • Updated dependencies [1e01464]

0.3.18

Patch Changes

0.3.17

Patch Changes

  • fd2c4ba: fix: html rendering does not output functions in arrays
  • Updated dependencies [005fba9]

0.3.16

Patch Changes

0.3.15

Patch Changes

0.3.14

Patch Changes

0.3.13

Patch Changes

  • 5f022b5: feat: use registry.scalar.com URLs as example
  • Updated dependencies [6a88108]

0.3.12

Patch Changes

0.3.11

Patch Changes

0.3.10

Patch Changes

0.3.9

Patch Changes

0.3.8

Patch Changes

0.3.7

Patch Changes

  • 66347d4: fix: handle config properties that accept both string and function types
  • Updated dependencies [ad2e3e6]

0.3.6

Patch Changes

  • 2d7f995: refactor: use more common straight apostrophe ' instead of the real apostrophe ’
  • Updated dependencies [2d7f995]

0.3.5

Patch Changes

0.3.4

Patch Changes

0.3.3

Patch Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Minor Changes

  • 483ca93: chore: require Node 20 (or above)

Patch Changes

0.2.16

Patch Changes

0.2.15

Patch Changes

  • Updated dependencies [f711ab5]
  • Updated dependencies [0222ad4]
  • Updated dependencies [cb9428c]
  • Updated dependencies [67aa0f4]

0.2.14

Patch Changes

  • 8c7bad8: chore: move build tooling to esbuild
  • Updated dependencies [8c7bad8]

0.2.13

Patch Changes

0.2.12

Patch Changes

0.2.11

Patch Changes

0.2.10

Patch Changes

0.2.9

Patch Changes

0.2.8

Patch Changes

0.2.7

Patch Changes

0.2.6

Patch Changes

0.2.5

Patch Changes

0.2.4

Patch Changes

  • Updated dependencies [8efedf3]
  • Updated dependencies [82a4ba8]
  • Updated dependencies [57feba6]

0.2.3

Patch Changes

0.2.2

Patch Changes

  • 7a8965c: chore: remove spec prefix
  • Updated dependencies [7a8965c]
  • Updated dependencies [49dffff]

0.2.1

Patch Changes

0.2.0

Minor Changes

  • 01f2610: feat: use new JS API

0.1.3

Patch Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

  • bab7990: init :)

Patch Changes