title: How do I use Rangy
body: <p>There's some information out there but I'm still very confused about how to use Rangy (<a href="https://github.com/timdown/rangy" rel="nofollow">https://github.com/timdown/rangy</a>)</p>
  
  <p>The demo on the git repository isn't working, nor did I find a good example of how to use it.</p>
  
  <p>I have a simple html file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;link rel="stylesheet" type="text/css" href="text.css"&gt;
  &lt;body&gt;
  
  &lt;script&gt;
  require('rangy')
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But when I run the file, and get:
  "ReferenceError: Can't find variable: require"</p>
  
  <p>I downloaded the file and tried to change the link in the require.
  I also tried to just install it with node install, but can't quite seem to get it to work. Would love to get a few-line example of how to consume Rangy and use it.</p>
  
  <p>Thanks,
  Amir</p>