UNPKG

tunnelmole

Version:

Tunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls

13 lines (10 loc) 298 B
import ClientDisconnect from "../messages/client-disconnect"; /** * Print the disconnection message to the console and then exit * * @param message */ export default function clientDisconnect(message: ClientDisconnect) { const { exitCode } = message; process.exit(exitCode ?? 0); }