PDF

pdf-lib – Create and modify PDF documents in any JavaScript environment

pdf-library lets you create and modify PDF documents in any JavaScript environment.

Create PDF documents from scratch, or modify existing PDF documents. Draw text, images, and vector graphics. Embed your own fonts. Even embed and draw pages from other PDFs.

This is free and open source software.

Key Features

  • Create new PDFs.
  • Modify existing PDFs.
  • Create forms.
  • Fill forms.
  • Flatten forms.
  • Add Pages.
  • Insert Pages.
  • Remove Pages.
  • Copy pages between PDFs.
  • Draw Text.
  • Draw Images.
  • Draw PDF Pages.
  • Draw Vector Graphics.
  • Draw SVG Paths.
  • Measure width and height of text.
  • Embed Fonts (supports UTF-8 and UTF-16 character sets).
  • Set document metadata.
  • Read document metadata.
  • Set viewer preferences.
  • Read viewer preferences.
  • Add attachments.
  • Works in all JavaScript environments – not just in Node or the Browser.

Website: pdf-lib.js.org
Support: GitHub Code Repository
Developer: Andrew Dillon
License: MIT License

pdf-lib is written in TypeScript. Learn TypeScript with our recommended free books and free tutorials.


Related Software

PDF Development Libraries
PDFBoxCreate, render, print, split, merge, alter, verify and extract text and metadata
TCPDFPHP class for generating PDF documents
PopplerLibrary for rendering PDF files, and examining or modifying their structure
PDFKitPDF document generation library for Node and the browser
pdfcpuPDF processing library
Apache FOPPrint formatter driven by XSL formatting objects
QPDFLibrary and programs that inspect and manipulate the structure of PDF files
PoDoFoParse PDF files and modify their contents into memory
OpenPDFLibrary for creating and editing PDF files; fork of iText
xhtml2pdfHTML to PDF converter using Python
libHaruLibrary for generating PDFs
CapyPDFFully color managed PDF generation library
pdf-libCreate and modify PDF documents in a JavaScript environment
PDFioPDF read/write library
PDFsharp.NET library for processing PDF files
JasperReportsReporting engine written in Java
CamlPDFOCaml library for reading, writing and modifying PDF files

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments