@nuxtjs/ngrok
> ngrok exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes. [learn more](https://github.com/bubenshchykov/ngrok)
Last updated 3 months ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nuxtjs/ngrok 
SYNC missed versions from official npm registry.

ngrok exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes. learn more

Features

  • Secure https for all tunnels
  • Show your work to anyone
  • Use the API to test web hooks
  • Test your UI in cloud browsers

Note This module is only enabled in dev mode.

Setup

  • Add @nuxtjs/ngrok dependency using yarn or npm to your project
  • Add @nuxtjs/ngrok to modules section of nuxt.config.js
  modules: [
    // Simple usage
    '@nuxtjs/ngrok',

    // With options
    ['@nuxtjs/ngrok', { subdomain: 'foobar' }],
  ]

Usage

(For more information see here)

On next dev, you will something like this in terminal that can be shared with the world:

> Open http://127.0.0.1:3000
> Open https://starter.ngrok.me for external access

Options

proto

  • Default: http
  • http | tcp | tls

addr

  • Default: process.env.npm_package_name

auth

  • http basic authentication for tunnel

subdomain

  • reserved tunnel name https://EXAMPLE.ngrok.io

authtoken

region

  • Default: us
  • one of ngrok regions (us, eu, au, ap)

configPath

  • ~/git/project/ngrok.yml
  • custom path for ngrok config file

Inspired by @nuxtjs/localtunnel

Current Tags

  • 1.2.9                                ...           latest (3 months ago)

14 Versions

  • 1.2.9                                ...           3 months ago
  • 1.2.8                                ...           8 months ago
  • 1.2.7                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |