title: How to Generate PDF in node.js
body: <p>I want to generate a module which will generate PDF by taking input as my  Invoice  and that PDF file is send to clients  mail id automatic.   In 1st step i got some code and try to generate PDF. That code is working fin and i am able to generate the PDF. but i am not able to open the file.</p>
  
  <p>for code i use this link:<a href="http://github.com/marak/pdf.js/" rel="noreferrer">http://github.com/marak/pdf.js/</a></p>