Any idea what I can use to create PDF documents with Ionic 2

I tried to use pdfMakes but I did not work and I need to be able to generate pdf with information that I get in tables

You can use PDF generator API. Try to Google it

I put that in google, and I get pages that can make the change for me but I do not want to depend on the third party service