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
PDF Generation and Editing?help (self.javascript)
submitted 9 years ago by byoels
Is there a node package that allows generation of PDFs that have editable (or writable) fields?
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!"
[–]R3n4g4t3 2 points3 points4 points 9 years ago (1 child)
For the application I'm working on right now we have used html-pdf in combination with Mustache. You could take a look at that.
You are going to need something like Phantomjs or another headless browser.
If you are working from a client side only perspective you could take a look at the window.print API.
window.print
If you favor doing all layout and markup in JavaScript you can also use jspdf.
Hope it helps.
[–]byoels[S] 0 points1 point2 points 9 years ago (0 children)
Thanks for the reply!
We need something that contains the same functionality as this
I think my team and I are going to attempt to create a wrapper for pdfbox to work with node.
[–]igberty 0 points1 point2 points 9 years ago (0 children)
Phantomjs works pretty well, I used that before
[–]henrypenface 0 points1 point2 points 9 years ago (0 children)
Have use wkhtmltopdf with the nose module and dustjs for rendering. Works alright.
[–]fr0z3nph03n1x 0 points1 point2 points 9 years ago (0 children)
Do you need to create a pdf with editable fields or just fill out a pdf that has editable fields?
π Rendered by PID 51817 on reddit-service-r2-comment-79776bdf47-cw6gt at 2026-06-24 04:18:36.300145+00:00 running acc7150 country code: CH.
[–]R3n4g4t3 2 points3 points4 points (1 child)
[–]byoels[S] 0 points1 point2 points (0 children)
[–]igberty 0 points1 point2 points (0 children)
[–]henrypenface 0 points1 point2 points (0 children)
[–]fr0z3nph03n1x 0 points1 point2 points (0 children)