title: Import JSON file in NodeJs using es6
body: <p>Hi i'm currently learning nodejs and I try to import a json file like this :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>'use strict'
  
  import data from 'users.json'
  
  console.log(data)</code></pre>
  </div>
  </div>
  </p>
  
  <p>Each time I get this error "Cannot find package 'users.json'"</p>
  
  <p>But if I read the file with fs it worked so can you explain me how to do please</p>