html2canvas

Screenshots with JavaScript

html2canvas@1.4.1 was published on 2022-01-22. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=8.0.0.

All html2canvas versions · Permanent reference to 1.4.1

Package specifications

Version1.4.1
License declarationMIT
Published2022-01-22T16:43:10.060Z
Node.js requirement>=8.0.0
Type declarationsBundled declarations
Runtime dependency count2
Peer requirement count0
Optional dependency count0
Minified size194.81 KiB
Minified + gzip45.43 KiB
Unpacked distribution size3299.86 KiB
Published file count391
Package typeNot declared
ES module entrydist/html2canvas.esm.js
Default entrydist/html2canvas.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies4
Repository stars31931
Repository forks4860

Install html2canvas 1.4.1

npm install html2canvas@1.4.1
pnpm add html2canvas@1.4.1
yarn add html2canvas@1.4.1

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review0/10 — Found 2/30 approved changesets -- score normalized to 0
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Binary-Artifacts10/10 — no binaries found in the repo
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies3/10 — dependency not pinned by hash detected -- score normalized to 3
Security-Policy0/10 — security policy file not detected
Fuzzing0/10 — project is not fuzzed
License10/10 — license file detected
Branch-Protection0/10 — branch protection not enabled on development/release branches
Signed-Releases0/10 — Project has not signed or included provenance with any releases.
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness