docs(site): document matcha, stop contradicting the transport rule, drop Node-only
The streaming guide argued with itself: the table said a plain return streams by Accept while the section below it, added with the explicit-transport change, said that same return is a 500. The prose got swept, the table didn't. Getting started said green-tea targets Node — true when written, wrong since the Deno/Bun/edge adapters landed — and led with a manual install even though matcha scaffolds a live app in two commands. matcha had no page at all, so the CLI was invisible to anyone reading the docs. site: pointed at green-tea.dev, which is the marketing site's domain; the docs deploy to docs.green-tea.dev. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
6 files changed
+100
-7
No files matched your search
@@ -37,6 +37,9 @@ Most frameworks make you keep the whole request in your head: which middleware r
|
||||
<Card title="One primitive for real-time" icon="rocket">
|
||||
Declare `@Sse`, `@Stream`, or `@Ws` and return an `AsyncIterable` — the transport streams it (SSE, ndjson, or a WebSocket duplex) with backpressure and cleanup handled. No separate gateway.
|
||||
</Card>
|
||||
<Card title="Runs wherever JS runs" icon="laptop">
|
||||
Node, Deno, Bun, and the edge — the same app, you only swap the entry point. HTTP, SSE, and WebSocket behave identically on all four.
|
||||
</Card>
|
||||
</CardGrid>
|
||||
|
||||
:::note[Beta]
|
||||
|
||||
Reference in new issue
Block a user