How to use the ngrok.authtoken function in ngrok

To help you get started, we’ve selected a few ngrok examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kibibit / achievibit / index.js View on Github external
(async function() {
    await ngrok.authtoken(token);
    const url = await ngrok.connect(port);

    console.info([
      colors.cyan('ngrok'),
      ' - serving your site from ',
      colors.yellow(url)
    ].join(''));
  })();
} else if (!token && enableNgrok) {

ngrok

node wrapper for ngrok

BSD-2-Clause
Latest version published 12 months ago

Package Health Score

82 / 100
Full package analysis