1.0.1 • Published 9 years ago

node-cors-proxy v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

Node CORS Proxy

A proxy server to get rid of CORS while developing for external API's

Use case

I was developing a AngularJS Front-End App that was pointing to a remote API. Then I needed to get rid of CORS by making a proxy server for API and a local server for webapp.

Usage: cors-proxy [options]

  Options:

    -h, --help                   output usage information
    -V, --version                output the version number
    -s, --static <static path>   Set static folder path
    -P, --port <port>            Local port
    -p, --path <api path>        API redirect path
    -r, --remote <http address>  Remote address