markstream-angular 0.0.2 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +14 -5
  2. package/dist/index.js +2044 -2047
  3. package/package.json +33 -7
package/README.md CHANGED
@@ -1,6 +1,15 @@
1
- # markstream-angular
1
+ # markstream-angular — Angular streaming Markdown renderer for AI chat
2
2
 
3
- Angular version of Markstream: a streaming-friendly Markdown renderer with KaTeX, Mermaid, Monaco code blocks, D2, infographic blocks, custom HTML tags, and cross-framework playground parity.
3
+ Angular 20+ standalone component for streaming Markdown: AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown states, long documents, Mermaid, KaTeX, Monaco code blocks, D2, infographic blocks, custom HTML tags, and cross-framework playground parity.
4
+
5
+ ## When to use it
6
+
7
+ Use `markstream-angular` when Markdown streams from an LLM, SSE, or WebSocket into an Angular 20+ standalone app.
8
+ For short static Markdown, a completed-document Markdown renderer or a simpler parser is usually enough.
9
+
10
+ ## Status
11
+
12
+ This package is currently alpha. Treat it as a streaming Markdown integration surface to evaluate in your Angular app, not as the most stable package in the Markstream family. Check npm and the [Angular guide](https://markstream.simonhe.me/guide/angular-quick-start) for the latest API maturity.
4
13
 
5
14
  ## Install
6
15
 
@@ -16,6 +25,8 @@ Optional peer dependencies:
16
25
  - `@terrastruct/d2` for D2 diagrams
17
26
  - `@antv/infographic` for infographic blocks
18
27
 
28
+ Install only the peers your output actually needs. Plain Markdown does not require Mermaid, KaTeX, Monaco, D2, or Infographic.
29
+
19
30
  Example:
20
31
 
21
32
  ```bash
@@ -96,9 +107,7 @@ In this monorepo:
96
107
  - Angular regression lab: `http://127.0.0.1:4175/test`
97
108
  - Angular version sandbox: `http://127.0.0.1:4175/test-sandbox`
98
109
 
99
- ## Status
100
-
101
- This package is still tagged `alpha`, but the current direction is already aligned with `markstream-react` / `markstream-vue2` for:
110
+ Current development is aligned with `markstream-react` / `markstream-vue2` for:
102
111
 
103
112
  - node-component renderer structure
104
113
  - streaming code block behavior