--- title: "Extensions" description: "Add SSE, WebSockets, file downloads, and more." thumbnail: "docs/extensions.svg" --- import { getFolder } from '../../lib/content'; export const folder = await getFolder('extensions'); export const CATEGORY_ORDER = ['Networking', 'Performance', 'UX', 'Swap behaviors', 'Compatibility', 'Security']; export const grouped = CATEGORY_ORDER.map(category => ({ category, slug: category.toLowerCase().replace(/\s+/g, '-'), items: folder.files.filter(f => f.frontmatter.category === category).map(f => ({ title: f.frontmatter.title, url: f.url, description: f.frontmatter.description, icon: f.frontmatter.icon, })), })).filter(g => g.items.length > 0);
{grouped.map(group => (

{group.category}

{group.items.map(item => ( ))}
))}