Nocturnal Pumpkin Maelstrom

    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]
    

    Keywords

    none

    Install

    npm i xhrproxy

    DownloadsWeekly Downloads

    4

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • jayproulx