ile</p>
<p>You are now ready to start using Mithril. The recommended way to structure code is to modularize it via CommonJS modules:</p>
<pre><code class="lang-javascript">// index.js
var m = require(&quot;mithril&quot;)

m.render(document.body, &quot;hello world&quot;)
</code></pre>
<p>Modularization is the practice of separating the code into files. Doing so makes it easier to find code, understand what code relies on what code, and test.</p>
<p>CommonJS is a de-facto standard for modularizing Javascript 