Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 747 Bytes

File metadata and controls

16 lines (9 loc) · 747 Bytes

node-proxy-injector

A script that allows you to proxy a remote server and inject css stylesheets and js scripts into the remote server response. The tool supports live reload, but you must have browser extensions installed and configured. For details visit http://help.livereload.com/kb/general-use/browser-extensions.

Note that this tool is a work in progress!

Usage

$ node server.js

Command line options

  • -u, --target-url Specify url to proxy. Default currently set to http://jquery.com/ for example purposes
  • -d, --target-dir Specify directory containing files to inject. Default currently set to './test' for example purposes
  • -p, --port Specify port for proxy server to listen on. Default is 8000.