@thgh/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
12 lines (10 loc) • 320 B
JavaScript
/**
* Wrapper around the ugly NodeJS async import() to make importing Tunnelmole in CommonJS projects much simpler
*
* @param {} options
*/
const tunnelmole = async function(options) {
const tunnelmole = await import('../dist/src/index.js');
tunnelmole.tunnelmole(options);
};
module.exports = tunnelmole;