a function</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td><code>Stream</code></td>
<td></td>
<td>Returns a stream</td>
</tr>
</tbody>
</table>
<hr>
<h3 id="basic-usage"><a href="#basic-usage">Basic usage</a></h3>
<p>Streams are not part of the core Mithril distribution. To include them in a project, require its module:</p>
<pre><code class="lang-javascript">var stream = require(&quot;mithril/stream&quot;)
</code></pre>
<h4 id="streams-as-variables"><a href="#streams-as-variables">Streams as variables