UNPKG

webshot-factory

Version:

screenshots at scale based on headless chrome

8 lines (7 loc) 303 B
/// <reference types="node" /> import * as shotPool from './lib/shot-pool'; export interface Config extends shotPool.PoolConfig { webshotDebugPort?: string; } export declare function init(options: Config): Promise<typeof shotPool>; export declare function getShot(url: string): PromiseLike<Buffer>;