Socket
Socket
Sign inDemoInstall

local-cors-anywhere

Package Overview
Dependencies
6
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
16
decreased by-52.94%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 06 Dec 2021

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc