{
 "kind": "tool",
 "slug": "jspdf",
 "path": "tools/jspdf/",
 "name": "jsPDF",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Generate PDF documents directly from JavaScript in browsers and Node.js.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install jspdf"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/parallax/jsPDF"
  },
  {
   "label": "Website",
   "href": "https://github.com/parallax/jsPDF"
  }
 ],
 "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/parallax/jsPDF"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 14, 2026",
   "note": "Latest GitHub release Mar 17, 2026. ",
   "src": "https://github.com/parallax/jsPDF"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "132 projects",
   "status": "info",
   "sub": "#4 of 281 in its category",
   "note": "Dependency in 132 public GitHub projects set up for AI coding agents that we scanned (2.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "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 jsPDF does",
   "parts": [
    {
     "t": "prose",
     "text": "Generate PDF documents directly from JavaScript in browsers and Node.js."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "jsPDF popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "79",
       "of": "/ 100",
       "l": "Gid Score, #115 overall"
      },
      {
       "n": "22.2M",
       "l": "downloads a week, npm"
      },
      {
       "n": "31.3K",
       "l": "GitHub stars"
      },
      {
       "n": "132",
       "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 jsPDF is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "jsPDF is a dependency in 132 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.7% of the 4,867 JavaScript/TypeScript ones), #4 of 281 in files, images and media.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 548; those are left out of every share on this page.",
      "The most used alternative in our scan is html2canvas (75 projects).",
      "Projects that use it most often also use Lucide React (84.1%), React (93.9%), Tailwind CSS (93.9%).",
      "It is more common in projects set up for Devin Desktop (6.5%) than for OpenCode (1.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "76 projects, 2.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "72 projects, 2.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "67 projects, 2.7%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "18 projects, 6.5%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "15 projects, 3.2%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "9 projects, 1.9%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "6 projects, 1.7%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "6 projects, 4.3%",
       "v": "Kiro",
       "path": "agents/kiro/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 84.1% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 93.9% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 93.9% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 72.0% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 68.9% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 61.4% of its projects",
       "v": "Recharts",
       "path": "tools/recharts/"
      },
      {
       "l": "In 62.1% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about jsPDF",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Head to head",
       "items": [
        {
         "text": "jsPDF vs pdf-lib",
         "note": "used together in 8 projects",
         "path": "tools/compare/jspdf-vs-pdf-lib/"
        }
       ]
      },
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "text": "Sharp",
         "path": "tools/sharp/"
        },
        {
         "text": "Pillow",
         "path": "tools/pillow/"
        },
        {
         "text": "Nodemailer",
         "path": "tools/nodemailer/"
        },
        {
         "text": "SheetJS",
         "path": "tools/xlsx/"
        },
        {
         "text": "qrcode (JavaScript)",
         "path": "tools/qrcode-npm/"
        },
        {
         "text": "JSZip",
         "path": "tools/jszip/"
        },
        {
         "text": "PDF.js",
         "path": "tools/pdfjs-dist/"
        },
        {
         "text": "openpyxl",
         "path": "tools/openpyxl/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "jsPDF",
       "me": true,
       "facts": [
        "MIT",
        "Gid 79",
        "22.2M/wk"
       ]
      },
      {
       "name": "html2canvas",
       "why": "JavaScript library for taking screenshots of web pages and rendering HTML to canvas.",
       "path": "tools/html2canvas/",
       "facts": [
        "MIT",
        "Gid 79",
        "26.6M/wk"
       ]
      },
      {
       "name": "pdf-lib",
       "why": "Create and modify PDF documents with JavaScript in Node.js and browsers.",
       "path": "tools/pdf-lib/",
       "facts": [
        "MIT",
        "Gid 74",
        "34.8M/wk"
       ]
      }
     ],
     "more": "Compare jsPDF with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install jspdf"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for jsPDF yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm jspdf"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "79.2"
  ],
  [
   "Rank in category",
   "#4 of 281"
  ],
  [
   "GitHub",
   "parallax/jsPDF"
  ],
  [
   "Last change",
   "Nov 14, 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/parallax.png"
}