title: How to create pdf file in node js
body: <p>I am creating an application in <code>node.js</code> utilizing the sails framework. I want to create a report in PDF format. The report needs to contain a chart generated using <code>chart.js</code>. The data is fetched from mongodb and displayed on a <code>canvas</code>. How can I create a PDF file of this chart using node.js? </p>