@scalar/api-client-proxy
TypeScript icon, indicating that this package has built-in type declarations

0.5.27 • Public • Published

Scalar API Client Proxy

Version Downloads License Discord

The Scalar API Client Proxy redirects requests to another server to avoid CORS issues. Works well with the Scalar API Client.

Installation

npm install @scalar/api-client-proxy

Usage

Create a new Node.js project and run the following code to run your own instance:

import { createApiClientProxy } from '@scalar/api-client-proxy'

const { listen } = createApiClientProxy()

listen(5051, () => {
  console.log(`🥤 API Client Proxy listening on http://localhost:5051`)
})

Readme

Keywords

Package Sidebar

Install

npm i @scalar/api-client-proxy

Weekly Downloads

31

Version

0.5.27

License

MIT

Unpacked Size

11.6 kB

Total Files

10

Last publish

Collaborators

  • amritkahlon
  • scalar_geoff
  • mason-little
  • hwkr
  • tommastro
  • cameronrohani
  • hanspagel
  • marclave