Html2pdf lib instance name

Hello! I encountered a problem in selecting an instance name for use the html2pdf library via NPM.
Or can you advise which one can be used to generate PDF

I tried to use this library but encountered the same error. It’s not clear what instance name should be applied to it. Maybe you know?

It doesn’t matter the instance name because it’s not compatible with the plugin. You need to follow the documentation of the library and load it yourself.