We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a63056f commit 12c09f6Copy full SHA for 12c09f6
README.md
@@ -20,7 +20,7 @@ import JsonParser from 'json-stream';
20
21
const queue = new Queue<string>();
22
// Make sure to keep every property optional since you never know when they'll be populated.
23
-const parser = new JsonParser<{name?: string; description?: string}>(queue);
+const jsonStream = new JsonParser<{name?: string; description?: string}>(queue);
24
25
const res = await axios.get('streaming-json-endpoint', {
26
responseType: 'stream',
0 commit comments