pdfmake - Client/server side PDF printing in pure JavaScript Print PDFs directly in the browser or delegate it to your NodeJS backend. Use the same document definition in both cases. view source