html2canvas 1.1.2
Screenshots with JavaScript
html2canvas@1.1.2 was published on 2021-07-13. Its manifest declares 1 runtime dependency 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.1.2 · Latest release
Package specifications
| Version | 1.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2021-07-13T15:02:38.175Z |
| Node.js requirement | >=8.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2363.84 KiB |
| Published file count | 358 |
| Package type | Not declared |
| ES module entry | dist/html2canvas.esm.js |
| Default entry | dist/html2canvas.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 31931 |
| Repository forks | 4860 |
Install html2canvas 1.1.2
npm install html2canvas@1.1.2 pnpm add html2canvas@1.1.2 yarn add html2canvas@1.1.2
Runtime dependencies
- css-line-break 1.1.1
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.
- base64-arraybuffer@0.2.0 — indirect
- css-line-break@1.1.1 — direct
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-Review | 0/10 — Found 2/30 approved changesets -- score normalized to 0 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Signed-Releases | 0/10 — Project has not signed or included provenance with any releases. |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/html2canvas/1.1.2 — retrieved 2026-10-29T10:26:51.888Z
- https://api.deps.dev/v3/projects/github.com%2Fniklasvh%2Fhtml2canvas — retrieved 2026-10-29T05:56:11.018Z
- https://api.deps.dev/v3/systems/npm/packages/html2canvas/versions/1.1.2 — retrieved 2026-10-29T10:26:52.410Z
- https://api.deps.dev/v3/systems/npm/packages/html2canvas/versions/1.1.2:dependencies — retrieved 2026-10-29T10:26:52.444Z