@egoist/html-to-image
Generate image from HTML, using Puppeteer.
Install
yarn add @egoist/html-to-image
Usage
import { getImage, stopBrowser } from '@egoist/html-to-image'
const buffer = await getImage(`<strong>hello</strong>`)
await stopBrowser()
License
MIT © EGOIST