0.4.7 • Published 2 years ago

@vighnesh153/localhost-cors-proxy v0.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@vighnesh153/localhost-cors-proxy

npm.io npm (scoped) GitHub GitHub issues

A simple proxy server for unlocking CORS disabled urls on localhost

Usage

To proxy the api.github.com on localhost, you can run the following command. It will start the server on localhost:1234

npx @vighnesh153/localhost-cors-proxy \
  --target-url https://api.github.com \
  --port 1234

Then, you can hit localhost:1234/* instead of https://api.github.com/* and you won't get CORS blocked.

Options

OptionRequiredDescription
-p, --porttrueSpecify the localhost port for the proxy server
-t, --target-urltrueThe url to be CORS enabled
0.4.7

2 years ago

0.4.6

2 years ago

0.4.5-alpha03

3 years ago

0.4.5-alpha02

3 years ago

0.4.5-alpha04

2 years ago

0.4.5-alpha01

3 years ago

0.4.0-alpha-04

3 years ago

0.4.0-alpha-05

3 years ago

0.4.0-alpha-06

3 years ago

0.4.1-alpha-01

3 years ago

0.4.0-alpha-07

3 years ago

0.4.0-alpha-01

3 years ago

0.4.0-alpha-02

3 years ago

0.4.0-alpha-03

3 years ago

0.4.4

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.3.0

3 years ago