="stream.html">Stream</a></li>
</ul>
</li>
<li>Tooling<ul>
<li><a href="https://github.com/MithrilJS/mithril.js/blob/master/ospec">Ospec</a></li>
</ul>
</li>
</ul>
<hr>
<h3 id="description"><a href="#description">Description</a></h3>
<p>Navigate between &quot;pages&quot; within an application</p>
<pre><code class="language-javascript">var Home = {
    view: function() {
        return &quot;Welcome&quot;
    }
}

m.route(document.body, &quot;/home&quot;, {
    &quot;/home&quot;: Home, // defines `http://loc