This repository demonstrates how to leverage @pdftron/pdfnet-node to alter the XMP Metadata of a PDF, ensuring that when properties of a
document are changed, such as Title
and Subject
, they are reflected in the
resulting PDF/A file that is outputted.
This repository has been written in Node 12.18.3
, but other versions of NodeJS may work.
git clone git@github.com:CorreyL/pdfnet-alter-xmp-example.git
cd pdfnet-alter-xmp-example
npm install
npm start