xhrproxy

0.0.4 • Public • Published

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]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i xhrproxy

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • jayproulx