New npm package for automatic recovery of broken streaming markdown

Published: (December 3, 2025 at 08:00 AM EST)
1 min read

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.

Back to Blog

Related posts

Read more »

It’s time to free JavaScript

Article URL: https://javascript.tm/letter Comments URL: https://news.ycombinator.com/item?id=46145365 Points: 104 Comments: 34...