title: how to use SheetJS (js-xlsx) in angular 2
body: <p>I'm learning angular2 and i wanted to use <a href="https://github.com/SheetJS/js-xlsx" rel="noreferrer">js-xlsx</a> library in my project.</p>
  
  <p>I installed xlsx <code>npm install xlsx</code>  and jszip <code>npm install jszip</code> and added them in my index.html </p>
  
  <p><code>&lt;script src="node_modules/xlsx/dist/xlsx.core.min.js"&gt;&lt;/script&gt;</code></p>
  
  <p><code>&lt;script src="node_modules/jszip/dist/jszip.min.js"&gt;&lt;/script&gt;</code>   </p>
  
  <p>and added the typescript defitions <code>tsd install xlsx</code></p>
  
  <p>and I'm using webpack</p>
  
  <p>but when I used it in </p>
  
  <pre><code>import * as xlsx from 'xlsx';
  </code></pre>
  
  <p>but i get error
  <code>module build failed: error: cannot resolve module 'xlsx'</code></p>