title: How do I insert a newline in Node.js when using Heroku?
body: <p>I'm trying to create a Node.js application on Heroku that will output 10 different ASCII faces (I already have the module needed for that). Using the Node tutorial on Heroku, I've set it up to output 10 faces. However, when I try to actually run the code, it puts all of the faces <em>inline</em> with each other. How should I try to make it so that the faces are outputted (if that's even a word) on their own lines?</p>
  
  <p>My current <code>index.js</code> is as follows:</p>
  
  <pre><code>var express = require('express');
  var app = express();
  var cool = require('cool-ascii-faces');
  
  app.set('port', (process.env.PORT || 5000));
  
  app.get('/', function(request, response) {
      var result = ''
      var times = process.env.TIMES || 5
      for (i=0; i &lt; times; i++)
          result += cool();
      response.send(result);
  });
  
  app.listen(app.get('port'), function() {
      console.log("Node app is running on port: " + app.get('port'))
  })
  </code></pre>
  
  <p>I have a <code>.env</code> file already set up for Foreman to use (when testing locally) that contains the following:
      <code>TIMES=9</code></p>
  
  <p>If you want to have a look at the output, head on over <a href="https://ascii-face-generator.herokuapp.com/" rel="nofollow">here</a>.</p>
  
  <p>TL;DR: How do I use newlines in Node?</p>