import { PuppeteerScreenshotRenderer } from "./screenshot-renderer/PuppeteerScreenshotRenderer" ; import { LocalScreenshotServer } from "./screenshot-server/LocalScreenshotServer" ; const screenshotServer = new LocalScreenshotServer ( new PuppeteerScreenshotRenderer ( ) , 3001 ) ; screenshotServer . start ( ) . then ( ( ) => console . log ( "Ready." ) ) . catch ( console . error ) ;