title: How should I install mustache library?
body: <p>There is a file for the mustache folder called mustache.js-master in github. It has a number of different files including mustache.min.js, mustache.js, bin folder, hooks folder, spec folder, test, etc. How do I install mustache, do i just download the file and include mustache.js in my code, or is there a way to install the file?</p>
  
  <p>I just included the mustache.js file in my project folder and wrote the tag in my code.
  Here is some code that I wrote to see if it works, the output from both the console.log and the document.write are empty. Is there anything wrong with my code or was I supposed to install mustache in a different way?</p>
  
  <pre><code>&lt;script type ="text/javascript" src ="jquery.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src = "mustache.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  
      var template;
      var data;
  
      template = '&lt;div&gt;&lt;h2&gt;{{Title}}&lt;/h2&gt;&lt;p&gt;{{Course}}&lt;/p&gt;&lt;p&gt;{{Category}}&lt;/p&gt;&lt;/div&gt;';
  
      data = '[{"Title":"Algorithms","Course":"CSI241","Category":"science"},{"Title":"Fluid dynamics","Course":"PHY345","Category":"science"}]';
  
      var html = Mustache.to_html(template,data);
  
      console.log(html);
  
      document.write(html);
  
  &lt;/script&gt;
  </code></pre>