Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How can I generate PDF using Netlify Functions

I am learning NodeJs and the Netlify Functions. I wish to create an API that produces PDF invoices, to do that I use the JavaScript lib PDFKit and I'm able to produce a test document on my local system (using netlify-lambda). When trying online (Nelify Servers), I'm unable to return the produced file. Could you please let me know if there is some limitation on the Functions responses. For a better understanding, you can find my source code here.

Comments