0.4.7 • Published 2 months ago

@vighnesh153/localhost-cors-proxy v0.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months 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 months ago

0.4.6

2 months ago

0.4.5-alpha03

11 months ago

0.4.5-alpha02

11 months ago

0.4.5-alpha04

11 months ago

0.4.5-alpha01

11 months ago

0.4.0-alpha-04

1 year ago

0.4.0-alpha-05

1 year ago

0.4.0-alpha-06

1 year ago

0.4.1-alpha-01

1 year ago

0.4.0-alpha-07

1 year ago

0.4.0-alpha-01

1 year ago

0.4.0-alpha-02

1 year ago

0.4.0-alpha-03

1 year ago

0.4.4

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.3.0

1 year ago