title: node.js - Express: Sending parameters to res.render()
body: <p>I am in a situation where the node.js server will perform a res.render() with an html file.</p>
  
  <p>The html file will contain some standard html stuff.</p>
  
  <p>The thing is, the server will have to send that html file an array of links.</p>
  
  <p>The html file will receive the response from the server (the array of links) and will create html elements with those links.</p>
  
  <p>I know of this way to send parameters in Express:
  res.render('file.ejs', {title:'Hello', value:'world!} );</p>
  
  <p>How can i implement sending the array of links in node/express and how can the client html file process it?</p>
  
  <p>Is the above line of code ideal for my situation?</p>