0

Is there a npm library that converts html to pdf that support Angular and Bootstrap?

I have a requirement that converts the html file into pdf.

I tried pdfmake npm library but it doesn't support bootstrap and only few css tags can be used.

1 Answer 1

0

Yes, there is an npm library called "jspdf" that can be used to convert HTML to PDF and supports Angular and Bootstrap. It allows you to add custom CSS and also provides various options to customize the PDF output such as adding headers, footers, page numbers, etc.

Live Demo

Here is the Documentation for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.