@hectorricardo/cors-proxy
A simple, local, easy-to-setup proxy server with CORS enabled.
Last updated 2 months ago by hectorricardo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hectorricardo/cors-proxy 
SYNC missed versions from official npm registry.

cors-proxy

A simple, local, easy-to-setup proxy server with CORS enabled.

Runs only on HTTP (no HTTPS supported).

Use for development purposes (NOT FOR PRODUCTION).

Installation

npm install -g @hectorricardo/cors-proxy

Usage

cors-proxy <url> [options]

where url is the url of the server to be proxied.

Available options:

-p, --port The port the proxy should bind to

-h, --help Show help

Example

cors-proxy https://google.com -p 8080

will redirect all requests matching with http://localhost:8080/* to https://google.com.

Remaining part of the url will stay the same, i.e., a request made to http://localhost:8080/users/john will be proxied to https://google.com/users/john.

Current Tags

  • 1.0.7                                ...           latest (2 months ago)

7 Versions

  • 1.0.7                                ...           2 months ago
  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           4 months ago
  • 1.0.4                                ...           4 months ago
  • 1.0.3                                ...           5 months ago
  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 7
This Month 7
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |