README
JSTunnel
Table of Contents
Description
Secure tunnels to localhost
Installation
npm
Globally via npm install -g jstunnel
Running on-demand:
npx jstunnel [options]
Examples
npx jstunnel -p 3000 -s subdomain
npx jstunnel -p 5432 -t tcp
npx jstunnel --help
'usage: jstunnel [options]',
'',
'options:',
' -p, --port Your port [required]',
' --host Your host [localhost]',
' -t --type Http or tcp [http]',
' -s, --subdomain Subdomain [random]',
' --apiUrl Api url [default]',
' --authToken Auth token [null]',
'',
' -h, --help Print this list and exit',
' -v, --version Print the version and exit.',
'',
'env:',
' TUNNEL_CLIENT_AUTH_TOKEN',
License
MIT