HOST-PROXY
Fast, lightweight and transparent http(s) proxy that supports dynamic hostnames.
Installation
Npm
npm install host-proxy
Example
var createProxy = ; // Start a proxy server.;
The above example creates the following proxy:
- test.com -> http://localhost:3002
- secure.test.com -> https://localhost:3003
- search.test.com -> http://google.ca
- api.test.com -> http://localhost:12345
Contributions
- Use npm to run tests.
Please feel free to create a PR!