title: how to use color-thief in a vuejs context
body: <p>I'm trying to import <code>color-thief</code> from NPM (<a href="https://github.com/lokesh/color-thief" rel="nofollow noreferrer">https://github.com/lokesh/color-thief</a>) like this:</p>
  
  <pre><code>import ColorThief from 'colorthief'
  </code></pre>
  
  <p>But when I call <code>new ColorThief()</code>, it returns something that it is not a constructor. <code>console.log(ColorThief)</code> just shows a <code>_proto_</code> that I don't understand.</p>
  
  <p>How can use the <code>color-thief</code> package properly?</p>