apos;);
});</code>
</code></pre>
<h2 id="parsing-a-file">Parsing a file</h2><pre><code class="lang-javascript"><code class="source-code prettyprint">const parser = new Corrode();
parser
    .ext.container(&apos;container&apos;)
    .map.push(&apos;container&apos;);

const fstream = fs.createReadStream(&apos;./container&apos;);
fstream.pipe(parser);

parser.on(&apos;finish&apos;, () =&gt; {
    console.log(parser.vars);
});</code>
</code></pre>
<h2 id="escaping-callback-hell">Escaping callback-hell</h2><pre>