title: is there a require for json in node.js
body: <p>I would like to include a couple of JSON files in my JavaScript code that are in the same directory as my JavaScript source file.</p>
  
  <p>If I wanted to include another JavaScript file I could simply use <code>require</code>.
  Now I'm using <code>readFileSync</code> and <code>__dirname</code> to get the JSON, which I think is an ugly way to do it.</p>
  
  <p>Is there something similar for require that enables me to load a JSON file?</p>