From 81e56c9178c304a5aaef12356671c880718ff614 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 4ea9e82b24f96f..ba61630ec979d7 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -1320,6 +1320,7 @@ They are accessed using: import { arrayBuffer, blob, + buffer, json, text, } from 'node:stream/consumers'; @@ -1329,6 +1330,7 @@ import { const { arrayBuffer, blob, + buffer, json, text, } = require('stream/consumers');