Durable Tunnel
Setup an auto-regenerating tunnel to the outside world
Installation
npm install durable-tunnel
Usage
var DurableTunnel = require('durable-tunnel'); var tunneler = new DurableTunnel(); var config = { timeout: 500, // Ms to wait before regenerating tunnels on error notify: ['http://localhost:4040/notify'], // Array of urls to notify of tunnel url changes opts: { // Localtunnel options local_host: 'awesome.dev' }} // Creates a new tunnel, or returns one if it already existstunneler.get("tunnel_name", process.env.PORT, config, function(tunnel) { })