title: jsPDF server side (node.js) usage using node-jspdf
body: <p>I am actually trying to include jspdf in server side and then use it for simple pdf generation(simply the text "Hello world!")(Go to the url- get the pdf localhost:8080). Now the first problem I face is</p>
  
  <ul>
  <li>How to include it / What to do to use jsPDF in node?</li>
  <li>While trying to install it using <code>npm install node-jspdf</code> then it gives following error-</li>
  </ul>
  
  <hr>
  
  <pre><code>&gt; G:\test\myproj&gt;npm install node-jspdf
   node-jspdf@0.0.3 install G:\test\myproj\node_modules\node-jspdf
   sh install.sh
  </code></pre>
  
  <blockquote>
  <pre><code>'sh' is not recognized as an internal or external command,
  operable program or batch file.
  npm ERR! Windows_NT 6.1.7601
  npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
  \\node_modules\\npm\\bin\\npm-cli.js" "install" "node-jspdf"
  npm ERR! node v0.12.4
  npm ERR! npm  v2.10.1
  npm ERR! code ELIFECYCLE
  
  npm ERR! node-jspdf@0.0.3 install: `sh install.sh`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the node-jspdf@0.0.3 install script 'sh install.sh'.
  npm ERR! This is most likely a problem with the node-jspdf package,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
  npm ERR!     sh install.sh
  npm ERR! You can get their info via:
  npm ERR!     npm owner ls node-jspdf
  npm ERR! There is likely additional logging output above.
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     G:\test\myproj\npm-debug.log
  </code></pre>
  </blockquote>
  
  <p>Can anybody help me on how to include it in node? And give a 4-5 line demo.</p>