UNPKG

@statezero/statezero-tunnel

Version:

Tunnelmole client for StateZero users to create secure tunnels to their local services.

12 lines (10 loc) 338 B
/** * 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'); return tunnelmole.tunnelmole(options); }; module.exports = tunnelmole;