@@ -1737,7 +1737,7 @@ async function showBoth() {
17371737showBoth ();
17381738```
17391739
1740- ### ` readable.map(fn[, options]) `
1740+ ##### ` readable.map(fn[, options]) `
17411741
17421742<!-- YAML
17431743added:
@@ -1784,7 +1784,7 @@ for await (const result of dnsResults) {
17841784}
17851785```
17861786
1787- ### ` readable.filter(fn[, options]) `
1787+ ##### ` readable.filter(fn[, options]) `
17881788
17891789<!-- YAML
17901790added:
@@ -1835,7 +1835,7 @@ for await (const result of dnsResults) {
18351835}
18361836```
18371837
1838- ### ` readable.forEach(fn[, options]) `
1838+ ##### ` readable.forEach(fn[, options]) `
18391839
18401840<!-- YAML
18411841added: v17.5.0
@@ -1894,7 +1894,7 @@ await dnsResults.forEach((result) => {
18941894console .log (' done' ); // Stream has finished
18951895```
18961896
1897- ### ` readable.toArray([options]) `
1897+ ##### ` readable.toArray([options]) `
18981898
18991899<!-- YAML
19001900added: v17.5.0
@@ -1932,7 +1932,7 @@ const dnsResults = await Readable.from([
19321932}, { concurrency: 2 }).toArray ();
19331933```
19341934
1935- ### ` readable.some(fn[, options]) `
1935+ ##### ` readable.some(fn[, options]) `
19361936
19371937<!-- YAML
19381938added: v17.5.0
@@ -1981,7 +1981,7 @@ console.log(anyBigFile); // `true` if any file in the list is bigger than 1MB
19811981console .log (' done' ); // Stream has finished
19821982```
19831983
1984- ### ` readable.find(fn[, options]) `
1984+ ##### ` readable.find(fn[, options]) `
19851985
19861986<!-- YAML
19871987added: v17.5.0
@@ -2031,7 +2031,7 @@ console.log(foundBigFile); // File name of large file, if any file in the list i
20312031console .log (' done' ); // Stream has finished
20322032```
20332033
2034- ### ` readable.every(fn[, options]) `
2034+ ##### ` readable.every(fn[, options]) `
20352035
20362036<!-- YAML
20372037added: v17.5.0
@@ -2080,7 +2080,7 @@ console.log(allBigFiles);
20802080console .log (' done' ); // Stream has finished
20812081```
20822082
2083- ### ` readable.flatMap(fn[, options]) `
2083+ ##### ` readable.flatMap(fn[, options]) `
20842084
20852085<!-- YAML
20862086added: v17.5.0
@@ -2129,7 +2129,7 @@ for await (const result of concatResult) {
21292129}
21302130```
21312131
2132- ### ` readable.drop(limit[, options]) `
2132+ ##### ` readable.drop(limit[, options]) `
21332133
21342134<!-- YAML
21352135added: v17.5.0
@@ -2151,7 +2151,7 @@ import { Readable } from 'stream';
21512151await Readable .from ([1 , 2 , 3 , 4 ]).drop (2 ).toArray (); // [3, 4]
21522152```
21532153
2154- ### ` readable.take(limit[, options]) `
2154+ ##### ` readable.take(limit[, options]) `
21552155
21562156<!-- YAML
21572157added: v17.5.0
@@ -2173,7 +2173,7 @@ import { Readable } from 'stream';
21732173await Readable .from ([1 , 2 , 3 , 4 ]).take (2 ).toArray (); // [1, 2]
21742174```
21752175
2176- ### ` readable.asIndexedPairs([options]) `
2176+ ##### ` readable.asIndexedPairs([options]) `
21772177
21782178<!-- YAML
21792179added: v17.5.0
@@ -2197,7 +2197,7 @@ const pairs = await Readable.from(['a', 'b', 'c']).asIndexedPairs().toArray();
21972197console .log (pairs); // [[0, 'a'], [1, 'b'], [2, 'c']]
21982198```
21992199
2200- ### ` readable.reduce(fn[, initial[, options]]) `
2200+ ##### ` readable.reduce(fn[, initial[, options]]) `
22012201
22022202<!-- YAML
22032203added: v17.5.0
0 commit comments