dom-to-image
Installation
SKILL.md
HTML DOM To Image
Convert any HTML DOM node into an image in PNG, JPEG, SVG, or Blob format.
Use Cases
Users request to convert HTML content to an image, take a screenshot of a web page element, generate a PNG/JPEG cover image, or export a specified DOM node as an image file.
Installation
Install html-to-image in the project directory:
npm install html-to-image
Core Workflow
Step 1: Target the DOM Node