 the input field.</p>
<h4 id="computed-properties"><a href="#computed-properties">Computed properties</a></h4>
<p>Streams are useful for implementing computed properties:</p>
<pre><code class="language-javascript">var title = stream(&quot;&quot;)
var slug = title.map(function(value) {
    return value.toLowerCase().replace(/\W/g, &quot;-&quot;)
})

title(&quot;Hello world&quot;)
console.log(slug()) // logs &quot;hello-world&quot;</code></pre>
<p>In the example above, the value of <code>slug</code> is comput