Socket
Book a DemoInstallSign in
Socket

local-cors-anywhere

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-cors-anywhere

A quick npx script for running a local cors-anywhere instance

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
14
133.33%
Maintainers
1
Weekly downloads
 
Created
Source

local-cors-anywhere

A quick npx script for running a local cors-anywhere instance.

Usage

npx local-cors-anywhere
Usage: local-cors-anywhere [options]

Options:
  -V, --version         output the version number
  -h, --host <host>     Listen on a specific host, or set the HOST env variable
  -p, --port <port>     Listen on a specific port, or set the PORT env variable
  --help                display help for command

Then, in order to proxy to https://github.com, simply make a request to http://localhost:8080/https://github.com, replacing with any configuration options you may have set.

See cors-anywhere for more information.

Keywords

cors

FAQs

Package last updated on 06 Dec 2021

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.