NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3940 most downloaded on npm
Create and modify PDF files with JavaScript
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 41 of 42 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
84 releases · first in 2017
Nothing published for this version
Add support for parsing and modifying PDFs with comments.
Nothing published for this version
One column per quarter.
Add support for all characters in the WinAnsi character set for the Standard 14 Fonts. This allows certain non-ascii characters to be used when drawin
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add support for Object Streams and Cross Reference Streams when saving documents. They are now used by default when calling PDFDocumentWriter.saveToBy
PDFDocumentWriter.saveToBytes(pdfDoc), but they can be turned off with PDFDocumentWriter.saveToBytes(pdfDoc, { useObjectStreams: false }).
drawEllipse, drawCircle, drawImage, drawRectangle, drawSquare, drawText, and drawLinesOfText operators.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix PDF parsing bug due to missing EOL characters that are supposed to precede the endstream keyword.
endstream keyword.
PDFDocumentFactory.load() method to ensure users pass it a Uint8Array (instead of, say, a Blob)
Nothing published for this version
Nothing published for this version
Add ES6 module build to NPM release (in the es folder).
es folder).dist/pdf-lib.js).dist/pdf-lib.min.js).pdf-lib/x/y/z is no longer valid.pdf-lib/lib/x/y/z is the CommonJS module.pdf-lib/es/x/y/z is the ES6 module.pdf-lib now directly exports all public classes and functions. For example: // v0.1.0
import { PDFDocumentWriter, PDFDocumentFactory } from 'pdf-lib/core/pdf-document';
import { drawText } from 'pdf-lib/helpers/pdf-operators/composite';
// Now
import {
PDFDocumentWriter,
PDFDocumentFactory,
drawText,
} from 'pdf-lib';
Nothing published for this version
Nothing published for this version
Initial release. ## Features * Create new PDFs * Modify existing PDFs * Add Pages * Insert Pages * Remove Pages * Draw Text * Draw Images * Draw Vecto
Initial release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →