New npm package for automatic recovery of broken streaming markdown
Source: Vercel Blog
Overview
Remend is a new standalone package that brings intelligent incomplete Markdown handling to any application. Previously built into Streamdown as its markdown termination logic, Remend is now available via remend as an independent library you can use anywhere.
Installation
npm i remend
Context
AI models stream Markdown token‑by‑token, and Remend helps recover broken or incomplete streams automatically.