1import { MitmProxy as MitmServer } from '../index'; 2 3(async function run() { 4 await MitmServer.start(); 5})().catch(error => { 6 // eslint-disable-next-line no-console 7 console.log('ERROR: ', error); 8}); 9 10