xhr

xhrproxy

Serve all request from a remote server locally, appending an 'Access-Control-Allow-Origin: *' header.

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

2

Size (min+gzip)

5.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

A simple tool to add Access-Control-Allow-Origin: * response headers when developing an application locally, but connecting to remote API's.

Installation

# npm install -g xhrproxy

Usage

Serve all request from a remote server locally, appending an "Access-Control-Allow-Origin: *" header.
Usage: xhrproxy --server [remote address] --port [5050|local port]

Options:
  -s, --server  Remote server address
  -p, --port    Local port           
  --server                             [required]
  --port                               [default: 5050]

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial