Removing or changing metadata on PDFs using Corvid

Any ideas on how to do this? Any (approved) npm packages that might help me? The wix team denied my npm package request for a tool that does this already.
I’m at a loss.
I would like to strip the metadata on pdfs uploaded by users. Best way I can think of is by POSTing the pdf to a Google Cloud Function that would strip the metadata, then send it back to my wix database. But that solution seems like overkill when I should be able to do it in a backend function with javascript.
Is there a way to strip metadata with javascript and the limited packages Corvid offers?

Maybe pdf-lib (I haven’t tried it)

Yes. That should do the trick! Thank you so much – I can’t believe I missed that package.

Cheers. Merry Christmas :slight_smile: