node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

ngrok-serve-dir

Easily serve a directory's contents over the internet using ngrok and nodejs

It's as easy as

$ ngrok-serve

Setup

$ npm install -g ngrok-serve-dir

Usage

Usage
  $ ngrok-serve <path/to/directory>
  $ ngrok-serve <path/to/directory> --port=<PORT>
 
Options
  -p, --port Sets the desired port 
 
Examples
  $ ngrok-serve .
  $ ngrok-serve ./public/static
  $ ngrok-serve ./public/static --port=4000