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

11 lines (10 loc) 262 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExtendedPage = void 0; class ExtendedPage { constructor(page) { this.inUse = false; this.page = page; } } exports.ExtendedPage = ExtendedPage;