title: How do you organize js files so that you can require from them within one npm package?
body: <p>I have a couple of nodejs files I want to group together in one folder, because they fit together logically.</p>
  
  <p>Say they're called a.js, b.js, c.js</p>
  
  <p>In my app, I have code that imports from these files like:</p>
  
  <p><code>require('a')
   require('b')
   require('c').</code></p>
  
  <p>How do I package those files together so that I don't have to change my individual <code>require</code>s? Is there an option in package.json file so that I can make those files exportable on a global scale without relying on the directory that contains those files?</p>