title: nodejs sendFile page rendering with an additional json
body: <p>I would like to pass into the client - in addition to the html page a JSON</p>
  <pre><code>res.sendFile(path.join(__dirname, 'build/index.html'), {aaa: &quot;asdsadaod&quot;});
  </code></pre>
  <p>so I'll be able to do something like this in the html code:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang=&quot;en&quot;&gt;
    &lt;head&gt;
       &lt;meta charset=&quot;UTF-8&quot;&gt;
       &lt;title&gt;XXX&lt;/title&gt;
       &lt;script&gt;
          const a = &quot;{{aaa}}&quot;
          alert(a)
       &lt;/script&gt; 
    &lt;/head&gt;
    &lt;body&gt;
       YYY
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>is it possible ?</p>