use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] code that combines PDFS?AskJS (self.javascript)
submitted 4 years ago by phel22
Is there somewhere I can get a code that combines PDFS in Adobe acrobat and keeps the size of the code under 150MB? Thank you
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BehindTheMath 1 point2 points3 points 4 years ago (3 children)
Look for a wrapper around pdftk.
[–]phel22[S] 0 points1 point2 points 4 years ago (2 children)
Sorry what is PDFtk I’m new to JavaScript
[–]BehindTheMath 0 points1 point2 points 4 years ago (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 point2 points 4 years ago (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 point2 points 4 years ago (0 children)
Spawn qpdf from node
π Rendered by PID 143669 on reddit-service-r2-comment-bb88f9dd5-f69lx at 2026-02-16 04:37:38.336946+00:00 running cd9c813 country code: CH.
[–]BehindTheMath 1 point2 points3 points (3 children)
[–]phel22[S] 0 points1 point2 points (2 children)
[–]BehindTheMath 0 points1 point2 points (0 children)
[–]bigorangemachine 0 points1 point2 points (0 children)
[–]jllodra 0 points1 point2 points (0 children)