title: The requested module 'franc' does not provide an export named 'default'
body: <p>I am trying to use franc package but everytime i try to run it this error appears &quot; The requested module 'franc' does not provide an export named 'default' &quot; and i don't know what it means. I've tried changing the filename to mjs or adding &quot;type&quot;=&quot;module&quot; in package.json but that only gives me this error, I can't find any solution online.</p>
  <p>Note: --experimental-modules does not work( it says '\302\226 npm': command not found)</p>
  <p><strong>This is the js file(i added &quot;type&quot;=&quot;module&quot; to package.json)</strong></p>
  <pre><code>import franc from 'franc';
  console.log(franc('Hi, I speak english!'));
  </code></pre>
  <p><strong>This is package.json</strong></p>
  <pre><code>{
    &quot;name&quot;: &quot;curs&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;type&quot;: &quot;module&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;franc&quot;: &quot;^6.0.0&quot;,
      &quot;lang&quot;: &quot;^0.1.1&quot;
    }
    
  }
  </code></pre>
  <p>PS: Ignore lang my point is just to make franc run in the first place.</p>