Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
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
  -o, --origin <origin...>  Listen on a specific origin(s), or set the ORIGIN 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

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc