How to get the content of a pdf file and insert it into a docx file with node js?

Is there a way to insert the content of a pdf into a docx file in node js ? Or even make screenshots of the pages of the pdf file and insert them into the docx file.

I need to add multiple content of pdf files at the end of a docx file.

I tried several modules but I’m not sure I understand. I’m not yet very good with javascript.

Thanks in advance.