From ffdd64dce312f2fdeaa95048b6fbcf18809532ff Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Mon, 13 Feb 2023 12:46:03 +0900 Subject: [PATCH] doc: remove unused functions from example of `streamConsumers.text` json, blob, and buffer are imported, but these functions are not used for example of `streamConsumers.text`. PR-URL: https://github.com/nodejs/node/pull/46581 Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/webstreams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 62ee5726fd55dc..3595dba05cded2 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -1613,7 +1613,7 @@ added: v16.7.0 UTF-8 encoded string. ```mjs -import { json, text, blob, buffer } from 'node:stream/consumers'; +import { text } from 'node:stream/consumers'; import { Readable } from 'node:stream'; const readable = Readable.from('Hello world from consumers!');