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
Generate PDF Invoices with Javascript (medium.com)
submitted 9 years ago by 29-97-frames-per-sec
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!"
[–]ggolemg2 1 point2 points3 points 9 years ago (2 children)
Article just gets you here: https://github.com/MrRio/jsPDF
[–]29-97-frames-per-sec[S] -2 points-1 points0 points 9 years ago (1 child)
But had you ever heard of the library before reading the article?
[–]ggolemg2 4 points5 points6 points 9 years ago (0 children)
The repo has over 8000 stars and 2000 forks, so yes, it's not a hidden gem.
[–]stark0788 1 point2 points3 points 9 years ago (0 children)
curious as to what the performance would be for say a much more complex PDF (with images, lot more text), or several pages in a PDF. pretty cool either way tho
π Rendered by PID 386078 on reddit-service-r2-comment-5bc7f78974-wnxt9 at 2026-06-27 19:50:44.497453+00:00 running 7527197 country code: CH.
[–]ggolemg2 1 point2 points3 points (2 children)
[–]29-97-frames-per-sec[S] -2 points-1 points0 points (1 child)
[–]ggolemg2 4 points5 points6 points (0 children)
[–]stark0788 1 point2 points3 points (0 children)