JSPM

  • Created
  • Published
  • Downloads 8139
  • Score
    100M100P100Q129647F
  • License MIT

Proxy with response modding

Package Exports

  • foxy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (foxy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

##Foxy Build Status

Proxy with response moddin'

In the near future, the api will be something like:

var proxy = require("foxy");
                    // target               // proxy url
proxy.createServer("http://localsite.dev", "http://localhost:5000");

Built-in middleware will re-write html on the fly to update any urls & there'll also be the option for additional rules for the re-writing.

###Todo

  • websocket support
  • accept a url for target
  • test the shit out of the link re-writing