Fabric.js
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
fabric@7.4.0 was published on 2026-05-18. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.0.0.
All Fabric.js versions · Permanent reference to 7.4.0
Package specifications
| Version | 7.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-05-18T18:36:25.365Z |
| Node.js requirement | >=20.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 0 |
| Peer requirement count | 0 |
| Optional dependency count | 2 |
| Minified size | 291.69 KiB |
| Minified + gzip | 89.70 KiB |
| Unpacked distribution size | 21702.03 KiB |
| Published file count | 2410 |
| Package type | Not declared |
| ES module entry | ./dist/index.mjs |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 76 |
| Repository stars | 31511 |
| Repository forks | 3632 |
Install Fabric.js 7.4.0
npm install fabric@7.4.0 pnpm add fabric@7.4.0 yarn add fabric@7.4.0
Runtime dependencies
- None declared
Peer requirements
- None declared
Optional dependencies
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @asamuzakjp/css-color@3.2.0 — indirect
- @csstools/color-helpers@5.1.0 — indirect
- @csstools/css-calc@2.1.4 — indirect
- @csstools/css-color-parser@3.1.0 — indirect
- @csstools/css-parser-algorithms@3.0.5 — indirect
- @csstools/css-tokenizer@3.0.4 — indirect
- agent-base@7.1.4 — indirect
- base64-js@1.5.1 — indirect
- bl@4.1.0 — indirect
- buffer@5.7.1 — indirect
- canvas@3.2.3 — direct
- chownr@1.1.4 — indirect
- cssstyle@4.6.0 — indirect
- data-urls@5.0.0 — indirect
- debug@4.4.3 — indirect
- decimal.js@10.6.0 — indirect
- decompress-response@6.0.0 — indirect
- deep-extend@0.6.0 — indirect
- detect-libc@2.1.2 — indirect
- end-of-stream@1.4.5 — indirect
- entities@6.0.1 — indirect
- expand-template@2.0.3 — indirect
- fs-constants@1.0.0 — indirect
- github-from-package@0.0.0 — indirect
- html-encoding-sniffer@4.0.0 — indirect
- http-proxy-agent@7.0.2 — indirect
- https-proxy-agent@7.0.6 — indirect
- iconv-lite@0.6.3 — indirect
- ieee754@1.2.1 — indirect
- inherits@2.0.4 — indirect
- ini@1.3.8 — indirect
- is-potential-custom-element-name@1.0.1 — indirect
- jsdom@26.1.0 — direct
- lru-cache@10.4.3 — indirect
- mimic-response@3.1.0 — indirect
- minimist@1.2.8 — indirect
- mkdirp-classic@0.5.3 — indirect
- ms@2.1.3 — indirect
- napi-build-utils@2.0.0 — indirect
- node-abi@3.101.0 — indirect
- node-addon-api@7.1.1 — indirect
- nwsapi@2.2.28 — indirect
- once@1.4.0 — indirect
- parse5@7.3.0 — indirect
- prebuild-install@7.1.3 — indirect
- pump@3.0.4 — indirect
- punycode@2.3.1 — indirect
- rc@1.2.8 — indirect
- readable-stream@3.6.2 — indirect
- rrweb-cssom@0.8.0 — indirect
- safe-buffer@5.2.1 — indirect
- safer-buffer@2.1.2 — indirect
- saxes@6.0.0 — indirect
- semver@7.8.5 — indirect
- simple-concat@1.0.1 — indirect
- simple-get@4.0.1 — indirect
- string_decoder@1.3.0 — indirect
- strip-json-comments@2.0.1 — indirect
- symbol-tree@3.2.4 — indirect
- tar-fs@2.1.5 — indirect
- tar-stream@2.2.0 — indirect
- tldts@6.1.86 — indirect
- tldts-core@6.1.86 — indirect
- tough-cookie@5.1.2 — indirect
- tr46@5.1.1 — indirect
- tunnel-agent@0.6.0 — indirect
- util-deprecate@1.0.2 — indirect
- w3c-xmlserializer@5.0.0 — indirect
- webidl-conversions@7.0.0 — indirect
- whatwg-encoding@3.1.1 — indirect
- whatwg-mimetype@4.0.0 — indirect
- whatwg-url@14.2.0 — indirect
- wrappy@1.0.2 — indirect
- ws@8.22.0 — indirect
- xml-name-validator@5.0.0 — indirect
- xmlchars@2.2.0 — 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 | 9/10 — Found 18/20 approved changesets -- score normalized to 9 |
|---|---|
| Maintained | 10/10 — 27 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10 |
| Security-Policy | 10/10 — security policy file detected |
| Dangerous-Workflow | 0/10 — dangerous workflow patterns detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 5/10 — badge detected: Passing |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 9/10 — dependency not pinned by hash detected -- score normalized to 9 |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/fabric/7.4.0 — retrieved 2026-10-28T23:01:38.561Z (stale snapshot; refresh pending)
- https://bundlephobia.com/api/size?package=fabric%407.4.0 — retrieved 2026-10-28T23:30:43.353Z
- https://api.deps.dev/v3/systems/npm/packages/fabric/versions/7.4.0:dependencies — retrieved 2026-10-28T23:30:43.286Z
- https://api.deps.dev/v3/systems/npm/packages/fabric/versions/7.4.0 — retrieved 2026-10-28T23:30:43.261Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Ffabricjs%2Ffabric.js — retrieved 2026-10-28T23:01:38.628Z (stale snapshot; refresh pending)