GitHub - casecode/node-proxy-injector: A tool for injecting third party css and js into a proxied server response · GitHub
Skip to content

casecode/node-proxy-injector

Folders and files

Repository files navigation

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.

About

A tool for injecting third party css and js into a proxied server response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors