0.0.2 • Published 3 years ago

node-ngrok-cli v0.0.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

✨ NGROK CLI made with NodeJS

NGROK CLI app made with NodeJS, easy to download and use.

📦 Installation

Run npm i -g node-ngrok-cli or yarn global add node-ngrok-cli. After running this command, you will be able to use ngrok command.

🐮 Usage

Run ngrok command to see all available commands.

To get help about a command, run:

$ ngrok <command> --help

# example
$ ngrok serve --help

Authenticating:

$ ngrok auth <auth_token>

Starting tunnel:

$ ngrok serve <port> [...options]

🔑 serve Command Options

NameTypeRequiredDefaultDescription
portnumber✔️-port or network address
protostringhttphttp, tcp, tls
authstring-http basic authentication for tunnel
subdomainstring-reserved tunnel name https://example.ngrok.io
authtokenstring-your authtoken from ngrok.com
regionstringusone of ngrok regions (us, eu, au, ap, sa, jp, in)

Example:

$ ngrok serve 3000 --region eu --subdomain example

🧦 Contributing

Fell free to use GitHub's features.