From b7aac66c66eb22c61b6afea67ff3726264b7228d Mon Sep 17 00:00:00 2001 From: Davlatjon Sh Date: Sat, 18 Oct 2025 17:09:22 +0500 Subject: [PATCH] docs(readme): add missing `iterableToStream` import --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85665ec..8c4b065 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ Please also take note of the [differences between `JSON.stringify()` and `string While the JSON standard only allows one JSON document per file, there are various variations of it to stream multiple documents. To emit such a stream, use the [`stringifyMultiJsonStream`](#stringifymultijsonstream) function, which returns a `TransformStream`: ```typescript -import { stringifyMultiJsonStream } from "json-stream-es"; +import { stringifyMultiJsonStream, iterableToStream } from "json-stream-es"; const values = [ { test1: "object1" }, @@ -605,4 +605,4 @@ For convenience, json-stream-es exports a helper function that manually converts ## Acknowledgements -This library is inspired by [creationix/jsonparse](https://github.com/creationix/jsonparse) by Tim Caswell and [dominictarr/JSONStream](https://github.com/dominictarr/JSONStream) by Dominic Tarr. \ No newline at end of file +This library is inspired by [creationix/jsonparse](https://github.com/creationix/jsonparse) by Tim Caswell and [dominictarr/JSONStream](https://github.com/dominictarr/JSONStream) by Dominic Tarr.