Skip to content

Commit

Permalink
doc: add missing buffer in the stream/consumers import example
Browse files Browse the repository at this point in the history
PR-URL: #41961
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
Mesteery authored and danielleadams committed Apr 24, 2022
1 parent 9649d65 commit 81e56c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/webstreams.md
Expand Up @@ -1320,6 +1320,7 @@ They are accessed using:
import {
arrayBuffer,
blob,
buffer,
json,
text,
} from 'node:stream/consumers';
Expand All @@ -1329,6 +1330,7 @@ import {
const {
arrayBuffer,
blob,
buffer,
json,
text,
} = require('stream/consumers');
Expand Down

0 comments on commit 81e56c9

Please sign in to comment.