This is a wrapper for the pdfmake library that you can find on github.
The official documentation could be found on https://pdfmake.github.io/docs/0.1/ .
Pdfmake also has a great playground where you could try out what's possible: https://pdfmake.org/playground.html