From 79b7aa6c0c05109b474f92af645b1b6a94a69817 Mon Sep 17 00:00:00 2001 From: Mestery Date: Mon, 14 Feb 2022 16:23:01 +0100 Subject: [PATCH] doc: add missing `buffer` in the `stream/consumers` import example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/41961 Reviewed-By: Tobias Nießen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Mohammed Keyvanzadeh --- doc/api/webstreams.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 18cceef8be318e..cde2addc7d09fa 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -1380,6 +1380,7 @@ They are accessed using: import { arrayBuffer, blob, + buffer, json, text, } from 'node:stream/consumers'; @@ -1389,6 +1390,7 @@ import { const { arrayBuffer, blob, + buffer, json, text, } = require('stream/consumers');