Open sandrobonazzola opened 8 years ago
Sandro thank you for your advice, I have to make some clean up of the dependencies.
By now there is a hard dependency on the use of pdfconcat
to generate a single pdf at the end. If you have any other idea about other tool let me know.
@diegogd there's pdf-merge https://www.npmjs.com/package/pdf-merge which has 1.103 downloads in the last month compared to the 52 of pdfconcat. Looking at the 2 libraries, pdf-merge is a wrapper for pdfTK which is unchanged since 2013 while pdfconcat is a wrapper for poppler, last version released 2 days ago. The pdfconcat author deprecated the module probably because he's not maintaining anymore the code to align with newer versions of poppler. I think you can use pdf-merge, looks stable enough and still maintained.
pdf-merge was my first option, I didn't do this deep analysis but I was having problems to installa pdftk in mac, that was the reason I ended up using pdfconcat. I've seen some alternative ways of installing pdftk through brew in mac, so we could consider moving this implementation to use the other library. Thanks again.
please check if new versions are available or different tools can be used, avoiding to rely on deprecated libraries / tools.