- Expose your local development to the web with a single command
- Test webhooks
- Give access to project for QA
- Show your work to employer
Install this globally and you'll have access to the exposetoweb command anywhere on your system.
$ npm install -g exposetoweb
$ exposetoweb
If you prefer do not install packages globally then install exposetoweb locally with npm install exposetoweb --save-dev
. Now exposetoweb located in your local node_modules/.bin
folder.
$ exposetoweb -h
Usage: exposetoweb [-v] [--rh] [--rp] [--lh] [--lp] [--ps] [--uuid] [--rewrite-host]
Options:
-h, --help show this help
--lh local server address [default: "localhost"]
--lp local server port [default: 3001]
--ps socket pool size [default: 10]
--rh remote server address [default: "proxy.lodoss.org"]
--rp remote server port [default: 5000]
--uuid path to uuid file [default: "~/.exposetoweb-uuid"]
-v, --verbose enable verbose mode
--rewrite-host rewrite hostname in http headers