JSPM

  • Created
  • Published
  • Downloads 8139
  • Score
    100M100P100Q127542F
  • 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'

If your local development server was running at http://127.0.0.1:5000, then you use Foxy like this:

var foxy = require("foxy");

var proxy = foxy.init("http://127.0.0.1:5000").listen(function () {
    console.log("Foxy running at http://localhost:" + proxy.address().port);
});

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.