0.4.7 • Published 1 year ago

@vighnesh153/localhost-cors-proxy v0.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.4.6

1 year ago

0.4.5-alpha03

2 years ago

0.4.5-alpha02

2 years ago

0.4.5-alpha04

2 years ago

0.4.5-alpha01

2 years ago

0.4.0-alpha-04

2 years ago

0.4.0-alpha-05

2 years ago

0.4.0-alpha-06

2 years ago

0.4.1-alpha-01

2 years ago

0.4.0-alpha-07

2 years ago

0.4.0-alpha-01

2 years ago

0.4.0-alpha-02

2 years ago

0.4.0-alpha-03

2 years ago

0.4.4

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.0

2 years ago