Socket
Book a DemoInstallSign in
Socket

@scalar/galaxy

Package Overview
Dependencies
Maintainers
10
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/galaxy

OpenAPI example specification in YAML and JSON

latest
Source
npmnpm
Version
0.5.11
Version published
Weekly downloads
1.5K
86.22%
Maintainers
10
Weekly downloads
 
Created
Source

Scalar Galaxy Example

Version Downloads License Discord

OpenAPI and AsyncAPI example documents in YAML and JSON to test OpenAPI and AsyncAPI tooling, run test suites or learn about OpenAPI and AsyncAPI.

Installation

npm install @scalar/galaxy

Usage

Scalar Registry

VersionFormatURL
LatestPreviewhttps://registry.scalar.com/@scalar/apis/galaxy
LatestJSONhttps://registry.scalar.com/@scalar/apis/galaxy?format=json
LatestYAMLhttps://registry.scalar.com/@scalar/apis/galaxy?format=yaml

CDN

VersionFormatURL
OpenAPI LatestJSONhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json
OpenAPI LatestYAMLhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml
OpenAPI 3.1JSONhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/3.1.json
OpenAPI 3.1YAMLhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/3.1.yaml
AsyncAPI LatestJSONhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/asyncapi/latest.json
AsyncAPI LatestYAMLhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/asyncapi/latest.yaml
AsyncAPI 3.0JSONhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/asyncapi/3.0.json
AsyncAPI 3.0YAMLhttps://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/asyncapi/3.0.yaml

Import as object

import ScalarGalaxy from '@scalar/galaxy/latest.json'

Import as JSON string

import ScalarGalaxy from '@scalar/galaxy/latest.json?raw'

Import as YAML string

import ScalarGalaxy from '@scalar/galaxy/latest.yaml?raw'

Import specific OpenAPI version

import ScalarGalaxy from '@scalar/galaxy/3.1.json'

Serve the OpenAPI document using the CLI

npx @scalar/cli document serve ./src/documents/3.1.yaml --watch

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.

Keywords

openapi

FAQs

Package last updated on 09 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts