title: require file as string
body: <p>I'm using node + express and I am just wondering how I can import any file as a string. Lets say I have a txt file all I want is to load it into a variable as such.</p>
  
  <pre><code>var string = require("words.txt");
  </code></pre>
  
  <p>I am against </p>
  
  <pre><code>modules.exports = function(){
  
      var string = "whatever";
  
      return string;
  
  }
  </code></pre>