-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Hi, this is a general question—what is the simplest way to use jsPDF to generate a PDF from HTML in a Node context?
Plaintext works fine I see; but HTML yields the error document is not defined
.
Is there a way to mock document
that is sufficient for purpose? Or does the simplest way to do this still require spinning up a headless browser?
Thanks.
nettnikl
Metadata
Metadata
Assignees
Labels
No labels