{
 "kind": "tool",
 "slug": "canvas",
 "path": "tools/canvas/",
 "name": "node-canvas",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "3D and graphics",
   "tools/3d-graphics/"
  ]
 ],
 "lead": "Canvas graphics API for Node.js backed by Cairo rendering.",
 "chips": [
  {
   "label": "3D and graphics",
   "path": "tools/3d-graphics/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install canvas"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/Automattic/node-canvas"
  },
  {
   "label": "Website",
   "href": "https://github.com/Automattic/node-canvas"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/Automattic/node-canvas"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Mar 31, 2026. ",
   "src": "https://github.com/Automattic/node-canvas"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "15 projects",
   "status": "info",
   "sub": "#10 of 63 in its category",
   "note": "Dependency in 15 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "6 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What node-canvas does",
   "parts": [
    {
     "t": "prose",
     "text": "Canvas graphics API for Node.js backed by Cairo rendering."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "node-canvas popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "65",
       "of": "/ 100",
       "l": "Gid Score, #661 overall"
      },
      {
       "n": "11.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "10.7K",
       "l": "GitHub stars"
      },
      {
       "n": "15",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How node-canvas is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "node-canvas is a dependency in 15 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 72 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is @napi-rs/canvas (28 projects).",
      "Projects that use it most often also use dotenv (52.8%), Axios (43.1%), Sharp (34.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "6 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 52.8% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 43.1% of its projects",
       "v": "Axios",
       "path": "tools/axios/"
      },
      {
       "l": "In 34.7% of its projects",
       "v": "Sharp",
       "path": "tools/sharp/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      },
      {
       "l": "In 76.4% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 26.4% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "uuid",
       "path": "tools/uuid/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about node-canvas",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "canvas-design: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a pos",
        "canvas-design: Create beautiful visual art in PNG and PDF documents using design philosophy and aesthetic principles for posters, illustrations, and static",
        "canvas-procedural-animation: Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.",
        "canvas-design: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a pos",
        "canvas-design: Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a pos",
        "canvas: Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, v"
       ]
      },
      {
       "title": "More in 3D and graphics",
       "path": "tools/3d-graphics/",
       "items": [
        {
         "text": "Three.js",
         "path": "tools/three/"
        },
        {
         "text": "Leaflet",
         "path": "tools/leaflet/"
        },
        {
         "text": "React Three Fiber",
         "path": "tools/react-three/"
        },
        {
         "text": "React Leaflet",
         "path": "tools/react-leaflet/"
        },
        {
         "text": "Mapbox GL",
         "path": "tools/mapbox-gl/"
        },
        {
         "text": "MapLibre GL",
         "path": "tools/maplibre-gl/"
        },
        {
         "text": "OGL",
         "path": "tools/ogl/"
        },
        {
         "text": "Simplex Noise",
         "path": "tools/simplex-noise/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "node-canvas",
       "me": true,
       "facts": [
        "MIT",
        "Gid 65",
        "11.8M/wk"
       ]
      },
      {
       "name": "@napi-rs/canvas",
       "why": "High-performance canvas for Node.js using Skia rendering backend.",
       "path": "tools/napi-rs-canvas/",
       "facts": [
        "MIT",
        "Gid 66",
        "58.8M/wk"
       ]
      },
      {
       "name": "Resvg-JS",
       "why": "High-performance SVG renderer powered by Rust for server-side SVG rasterization.",
       "path": "tools/resvg-resvg-js/",
       "facts": [
        "MPL-2.0",
        "Gid 59",
        "8.8M/wk"
       ]
      }
     ],
     "more": "Compare node-canvas with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install canvas"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for node-canvas yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm canvas"
  ],
  [
   "Category",
   "3D and graphics"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "65.3"
  ],
  [
   "Rank in category",
   "#10 of 63"
  ],
  [
   "GitHub",
   "Automattic/node-canvas"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/automattic.png"
}