{"library":"html2canvas-pro","type":"library","category":null,"description":"html2canvas-pro is an actively maintained fork of the popular `niklasvh/html2canvas` library, designed to capture screenshots of web pages or specific DOM elements using JavaScript. It is currently at version 2.0.2 and appears to have a consistent release cadence with several recent patch releases following a major version bump to 2.0.0. Key differentiators include enhanced support for modern CSS color functions like `color()`, `lab()`, `lch()`, `oklab()`, and `oklch()`, improved handling of `object-fit` for images, and explicit control over image smoothing via the `image-rendering` CSS property or a global option. This package aims to address various issues and provide advanced features beyond the original `html2canvas` project, making it suitable for complex screenshot requirements where standard `html2canvas` might fall short. It ships with TypeScript types for improved developer experience.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","html2canvas","screenshot","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html2canvas-pro","imports":["import html2canvas from 'html2canvas-pro';","import type { Options } from 'html2canvas-pro';","import type { Canvas } from 'html2canvas-pro';"]},{"cmd":"yarn add html2canvas-pro","imports":[]},{"cmd":"pnpm add html2canvas-pro","imports":[]}],"homepage":"https://yorickshan.github.io/html2canvas-pro/","github":"https://github.com/yorickshan/html2canvas-pro","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html2canvas-pro","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/html2canvas-pro/compatibility"}}