New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scalar/api-client-modal

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/api-client-modal

A modal wrapper around the API Client

0.0.16
latest
Source
npm
Version published
Weekly downloads
206
-34.81%
Maintainers
0
Weekly downloads
 
Created
Source

Scalar Draggable component

Version Downloads License Discord

Installation

npm install @scalar/api-client-modal

Usage

import { createScalarApiClient } from '@/api-client-modal'

// Initialize
const { open } = await createScalarApiClient(document.getElementById('root'), {
  spec: {
    url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
  },
})

// Open the API client right-away
open()

// Or: Open a specific operation
// open({
//   method: 'GET',
//   path: '/me',
// })

You can find this example in the playground folder.

Keywords

vue api client modal

FAQs

Package last updated on 27 Jun 2024

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