title: How to add zip file without compression using node.js?
body: <p>I am converting docx to epub using pandoc.  After converting epub, i do changes with zip file and converting epub also. At that time,</p>
  
  <p>I got the following issue after converting zip file to epub on mimetype file. </p>
  
  <pre><code> Mimetype contains wrong type (application/epub+zip expected).
  </code></pre>
  
  <p>I am searching a lot and get two logic</p>
  
  <ol>
  <li><p>First one e.g., extra spaces, new line characters but it was going vain(there is no extra spaces, new line).</p></li>
  <li><p>Add the mimetype file without compression in zip.</p></li>
  </ol>
  
  <p>I am getting struck with second point.  How to add mimetype file without compression in zip using node.js coding.</p>
  
  <pre><code> var archiver = require('archiver');
   var archive = archiver('zip');
   archive.file('d:\\xxxx'+'\\mimetype', { name:'mimetype'});
  </code></pre>
  
  <p>What is the problem in the above code and any attribute for zip?  </p>
  
  <p>Can any one assist me for adding file without compression in zip?</p>
  
  <p>Thanks in advance.</p>