down(stream, options)</h3>
    <p>Convert HTML stream to Markdown stream.</p>
    <pre><code>import { streamHtmlToMarkdown } from 'mdream'

const markdownStream = streamHtmlToMarkdown(htmlStream, {
  chunkSize: 4096
})</code></pre>

    <h3>generateLlmsTxtArtifacts(options)</h3>
    <p>Generate llms.txt artifacts from HTML files.</p>
    <pre><code>import { generateLlmsTxtArtifacts } from 'mdream/llms-txt'

const result = await generateLlmsTxtArtifacts({
  patterns: 'dist/**/*.html',
  siteName: 'My Site',
