html-dom-to-pdf
A library to convert HTML DOM element to PDF using javascript.
Install
npm i html-dom-to-pdf
Usage
; let pdfConverter = ;/* call the convertToPdf method with the following parameters domElement - The DOM element which you wish to convert to PDF FileName(optional) - Must be a string PageSize(optional) - A4 is set as default Margin(optional) - Must be a number specified in points*/pdfConverter;