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 <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
  • Loading branch information
Mesteery authored and bengl committed Feb 22, 2022
1 parent b1505a1 commit 8748b1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,7 @@ They are accessed using:
import {
arrayBuffer,
blob,
buffer,
json,
text,
} from 'node:stream/consumers';
Expand All @@ -1389,6 +1390,7 @@ import {
const {
arrayBuffer,
blob,
buffer,
json,
text,
} = require('stream/consumers');
Expand Down

0 comments on commit 8748b1e

Please sign in to comment.