title: Twig.js render .twig to a file
body: <p>I would like to render a twig template, and save the html into a file. I was looking into the twig.js documentation and I couldn't find any information about it. </p>
  
  <p><strong>Ticket</strong></p>
  
  <pre><code>twig    = require('twig');
  ...
    _prevTicket = function(req, res){
      var el = twig.twig({ data: 'test.twig' }).render({ test: 'pepe' });
  
      console.log(el);
  
      res.render('test.twig', { test: 'pepe' });
    };
  
  app.get('/ticket/', _prevTicket);
  </code></pre>
  
  <p>When I access to that route I got the next message in the terminal. What am I doing wrong? </p>
  
  <p>Thanks you. </p>
  
  <p><strong>Terminal</strong></p>
  
  <pre><code>test.twig
  </code></pre>