how to add custom metadata to pdf using node js

Viewed 766

I am reading a pdf file from AWS s3 bucket and want to generate a new file with additional custom metadata using node in lambda.

I tried with pdf-lib NPM and was able to generate a new file but didn't find a way to add custom metadata. the NPM document only has methods to add default properties like title, author.

Please suggest any way to add custom metadata

1 Answers
Related