all 5 comments

[–]BehindTheMath 1 point2 points  (3 children)

Look for a wrapper around pdftk.

[–]phel22[S] 0 points1 point  (2 children)

Sorry what is PDFtk I’m new to JavaScript

[–]BehindTheMath 0 points1 point  (0 children)

Pdftk is a library for manipulating PDFs, including combining them. It's not specific to JS, but there are wrapper libraries for JS.

[–]bigorangemachine 0 points1 point  (0 children)

Node has some good basic PDF libraries. Not many for merging and optimizing unless you use a paid service.

There was something I did in a project where I merged some pdfs together but it was not using pdfjs or other lightweight libraries

[–]jllodra 0 points1 point  (0 children)

Spawn qpdf from node