jsPDF PDF Generation Library
parall.ax
2
Leaving SiteNav
External Link Disclaimer
You are about to visit parall.ax. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
jsPDF is the leading open source HTML5 client-side solution for generating PDF documents entirely in the browser, developed by Parallax design agency and maintained by James Hall. The library enables developers to create professional PDF documents including event tickets, invoices, reports, certificates, labels, and downloadable content without server-side processing or external dependencies. The API follows a simple imperative model: create a document instance, add pages, set fonts and sizes, write text at coordinates, draw shapes, embed images, and output as a blob, data URI, or direct download. Text rendering supports multiple fonts, custom font embedding via Base64 TTF files for non-Latin scripts including CJK characters, text alignment, line wrapping, and styled paragraphs. Image support covers JPEG, PNG, and WebP formats with compression options, and images can be scaled, positioned, and repeated across pages. The vector graphics API provides lines, rectangles, rounded rectangles, ellipses, triangles, and custom SVG-like path operations with stroke and fill options. Tables can be generated through the autotable plugin that handles cell layout, header rows, pagination, styling, and dynamic content. HTML-to-PDF conversion is available through integration with html2canvas for rasterizing DOM content and the dompurify sanitizer. The library works in all modern browsers, Node.js environments, and mobile webviews. With over 29 thousand GitHub stars and millions of weekly NPM downloads, jsPDF is used by thousands of applications including event platforms, certificate generators, and document automation tools. The core library is MIT licensed with commercial support available from Parallax.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike