title: specify PDF page size using pdfkit in node js
body: <p>I read in pdfkit manual that pdf page can be sized using size[width,height].But when i tried the following code its not working</p>
  
  <pre><code>var PDFDocument = require('pdfkit');
  
  var doc = new PDFDocument;
  doc.size=[50,50];
  doc.end()
  </code></pre>