canvas 2.4.1
Canvas graphics API backed by Cairo
canvas@2.4.1 was published on 2019-03-19. 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 >=6.
All canvas versions · Permanent reference to 2.4.1 · Latest release
Package specifications
| Version | 2.4.1 |
|---|---|
| License declaration | MIT |
| Published | 2019-03-19T17:51:38.466Z |
| Node.js requirement | >=6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 347.45 KiB |
| Published file count | 57 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 68 |
| Repository stars | 10699 |
| Repository forks | 1197 |
Install canvas 2.4.1
npm install canvas@2.4.1 pnpm add canvas@2.4.1 yarn add canvas@2.4.1
Runtime dependencies
- nan ^2.12.1
- node-pre-gyp ^0.11.0
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.
- abbrev@1.1.1 — indirect
- ansi-regex@2.1.1 — indirect
- aproba@1.2.0 — indirect
- are-we-there-yet@1.1.7 — indirect
- balanced-match@1.0.2 — indirect
- brace-expansion@1.1.21 — indirect
- chownr@1.1.4 — indirect
- code-point-at@1.1.0 — indirect
- concat-map@0.0.1 — indirect
- console-control-strings@1.1.0 — indirect
- core-util-is@1.0.3 — indirect
- debug@3.2.7 — indirect
- deep-extend@0.6.0 — indirect
- delegates@1.0.0 — indirect
- detect-libc@1.0.3 — indirect
- fs-minipass@1.2.7 — indirect
- fs.realpath@1.0.0 — indirect
- gauge@2.7.4 — indirect
- glob@7.2.3 — indirect
- has-unicode@2.0.1 — indirect
- iconv-lite@0.4.24 — indirect
- ignore-walk@3.0.4 — indirect
- inflight@1.0.6 — indirect
- inherits@2.0.4 — indirect
- ini@1.3.8 — indirect
- is-fullwidth-code-point@1.0.0 — indirect
- isarray@1.0.0 — indirect
- minimatch@3.1.5 — indirect
- minimist@1.2.8 — indirect
- minipass@2.9.0 — indirect
- minizlib@1.3.3 — indirect
- mkdirp@0.5.6 — indirect
- ms@2.1.3 — indirect
- nan@2.30.0 — direct
- needle@2.9.1 — indirect
- node-pre-gyp@0.11.0 — direct
- nopt@4.0.3 — indirect
- npm-bundled@1.1.2 — indirect
- npm-normalize-package-bin@1.0.1 — indirect
- npm-packlist@1.4.8 — indirect
- npmlog@4.1.2 — indirect
- number-is-nan@1.0.1 — indirect
- object-assign@4.1.1 — indirect
- once@1.4.0 — indirect
- os-homedir@1.0.2 — indirect
- os-tmpdir@1.0.2 — indirect
- osenv@0.1.5 — indirect
- path-is-absolute@1.0.1 — indirect
- process-nextick-args@2.0.1 — indirect
- rc@1.2.8 — indirect
- readable-stream@2.3.8 — indirect
- rimraf@2.7.1 — indirect
- safe-buffer@5.1.2 — indirect
- safe-buffer@5.2.1 — indirect
- safer-buffer@2.1.2 — indirect
- sax@1.6.1 — indirect
- semver@5.7.2 — indirect
- set-blocking@2.0.0 — indirect
- signal-exit@3.0.7 — indirect
- string-width@1.0.2 — indirect
- string_decoder@1.1.1 — indirect
- strip-ansi@3.0.1 — indirect
- strip-json-comments@2.0.1 — indirect
- tar@4.4.19 — indirect
- util-deprecate@1.0.2 — indirect
- wide-align@1.1.5 — indirect
- wrappy@1.0.2 — indirect
- yallist@3.1.1 — indirect
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 1/11 approved changesets -- score normalized to 0 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 0/10 — license file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Packaging | 10/10 — packaging workflow detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
| 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/canvas/2.4.1 — retrieved 2026-10-29T09:22:57.899Z
- https://api.deps.dev/v3/projects/github.com%2FAutomattic%2Fnode-canvas — retrieved 2026-10-29T05:56:13.617Z
- https://api.deps.dev/v3/systems/npm/packages/canvas/versions/2.4.1 — retrieved 2026-10-29T09:22:58.421Z
- https://api.deps.dev/v3/systems/npm/packages/canvas/versions/2.4.1:dependencies — retrieved 2026-10-29T09:22:58.444Z