UNPKG

node-image-from-html

Version:

This single-dependency library provides a simple API to render HTML content using <a href="https://github.com/puppeteer/puppeteer">Puppeteer</a> (A headless chromium brower) into png and jpeg images, insuring security and efficiency in the process. Writte

7 lines (6 loc) 143 B
import { Page } from "puppeteer"; export declare class ExtendedPage { page: Page; inUse: boolean; constructor(page: Page); }