Socket
Book a DemoInstallSign in
Socket

gatsby-plugin-ngrok-tunneling

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-ngrok-tunneling

Sets up tunneling using [ngrok](https://www.npmjs.com/package/ngrok)

latest
Source
npmnpm
Version
1.1.5
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-plugin-ngrok-tunneling

Sets up tunneling using ngrok

Only used in development or if process.env.TUNNELING === 'true' (disable with process.env.TUNNELING === 'false')

Install

npm install --save gatsby-plugin-ngrok-tunneling

How to use

plugins: [ 'gatsby-plugin-ngrok-tunneling' ]

Overriding Options

You can override the default ngrok options config

ngrok npm

{
  proto: 'http',      // http|tcp|tls
  addr: 8080,         // port or network address
  auth: 'user:pwd',   // http basic authentication for tunnel
  subdomain: 'alex',  // reserved tunnel name https://alex.ngrok.io
  authtoken: '12345', // your authtoken from ngrok.com
  region: 'us'        // one of ngrok regions (us, eu, au, ap), defaults to us,
  configPath: '~/git/project/ngrok.yml'                      // custom path for ngrok config file
  binPathReplacer: ['app.asar/bin', 'app.asar.unpacked/bin'] // custom path replacement when using for production in electron
}

FAQs

Package last updated on 30 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts