Package Exports
- @sundawning/ngrok-random-region
- @sundawning/ngrok-random-region/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sundawning/ngrok-random-region) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
使用随机的地区来启动 ngrok 内网穿透服务器
2022-09-08 21:38:26
安装
pnpm add @sundawning/ngrok-random-region
使用
const NgrokRandomRegion = require("@sundawning/ngrok-random-region");
NgrokRandomRegion.start({
token: "token",
});
打印出并一直处于运行中:
启动ngrok内网穿透服务器 http 8080 => https://63a0-120-229-49-9.ngrok.io
停止后再次执行:
启动ngrok内网穿透服务器 http 8080 => https://c7e0-120-229-49-9.eu.ngrok.io