Skip to content

This code uses "pdf-lib" to add a header to the first page of a pdf file. It works for one input, but doesn't for another.

Notifications You must be signed in to change notification settings

mugli/demo-adding-header-to-pdf

Repository files navigation

Demo: Adding header with pdf-lib

This code uses pdf-lib to add a header to the first page of a pdf file.

Two sample pdf files provided. This code works for input-working.pdf, but NOT for input-problematic.pdf

How to start

npm install
npm start

The paths of the generated output files will be printed in the console

About

This code uses "pdf-lib" to add a header to the first page of a pdf file. It works for one input, but doesn't for another.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published