Render string pdf without creating file - Electronjs / Nodejs

0

I have a variable with the contents of a pdf string, which has already been downloaded from any website.

const pdf  = ""%PDF-1.4
1 0 obj
<<
/Title (þÿ�e�-�R�e�c�u�r�s�o�s)
/Creator (þÿ)
/Producer (þÿ�w�k�h�t�m�l�t�o�p�d�f)
/CreationDate (D:20180110143030-02'00')
>>
endobj
3 0 obj
<<
/Type /ExtGState
/SA true
/SM 0.02";

How can I display this pdf in a new inline window within ElectronJs without having to create a PDF file?

    
asked by anonymous 04.09.2018 / 04:03

0 answers