title: NodeJS - Generate PDF on the fly with pdfmake
body: <p>I would like, in my NodeJS app, to generate a PDF in server-side with pdfmake but i don't know how to do. I would like to don't save it on my server.</p>
  
  <p>I have this</p>
  
  <pre><code>const printer = new PdfPrinter( fonts );
  const pdfKitDoc = printer.createPdfKitDocument( dd );
  const stream = pdfKitDoc.pipe( ... );
  pdfKitDoc.end();
  return stream;
  </code></pre>
  
  <p>and I don't know what I have to type instead of '...'. If it's possible, I would like to stream it as blob to use it in my apps.</p>
  
  <p>Can anyone help me ?</p>
  
  <p>Thanks</p>