@@ -1683,7 +1683,7 @@ async function showBoth() {
1683
1683
showBoth ();
1684
1684
```
1685
1685
1686
- ### ` readable.map(fn[, options]) `
1686
+ ##### ` readable.map(fn[, options]) `
1687
1687
1688
1688
<!-- YAML
1689
1689
added: v17.4.0
@@ -1728,7 +1728,7 @@ for await (const result of dnsResults) {
1728
1728
}
1729
1729
```
1730
1730
1731
- ### ` readable.filter(fn[, options]) `
1731
+ ##### ` readable.filter(fn[, options]) `
1732
1732
1733
1733
<!-- YAML
1734
1734
added: v17.4.0
@@ -1777,7 +1777,7 @@ for await (const result of dnsResults) {
1777
1777
}
1778
1778
```
1779
1779
1780
- ### ` readable.forEach(fn[, options]) `
1780
+ ##### ` readable.forEach(fn[, options]) `
1781
1781
1782
1782
<!-- YAML
1783
1783
added: v17.5.0
@@ -1836,7 +1836,7 @@ await dnsResults.forEach((result) => {
1836
1836
console .log (' done' ); // Stream has finished
1837
1837
```
1838
1838
1839
- ### ` readable.toArray([options]) `
1839
+ ##### ` readable.toArray([options]) `
1840
1840
1841
1841
<!-- YAML
1842
1842
added: v17.5.0
@@ -1874,7 +1874,7 @@ const dnsResults = await Readable.from([
1874
1874
}, { concurrency: 2 }).toArray ();
1875
1875
```
1876
1876
1877
- ### ` readable.some(fn[, options]) `
1877
+ ##### ` readable.some(fn[, options]) `
1878
1878
1879
1879
<!-- YAML
1880
1880
added: v17.5.0
@@ -1923,7 +1923,7 @@ console.log(anyBigFile); // `true` if any file in the list is bigger than 1MB
1923
1923
console .log (' done' ); // Stream has finished
1924
1924
```
1925
1925
1926
- ### ` readable.find(fn[, options]) `
1926
+ ##### ` readable.find(fn[, options]) `
1927
1927
1928
1928
<!-- YAML
1929
1929
added: v17.5.0
@@ -1973,7 +1973,7 @@ console.log(foundBigFile); // File name of large file, if any file in the list i
1973
1973
console .log (' done' ); // Stream has finished
1974
1974
```
1975
1975
1976
- ### ` readable.every(fn[, options]) `
1976
+ ##### ` readable.every(fn[, options]) `
1977
1977
1978
1978
<!-- YAML
1979
1979
added: v17.5.0
@@ -2022,7 +2022,7 @@ console.log(allBigFiles);
2022
2022
console .log (' done' ); // Stream has finished
2023
2023
```
2024
2024
2025
- ### ` readable.flatMap(fn[, options]) `
2025
+ ##### ` readable.flatMap(fn[, options]) `
2026
2026
2027
2027
<!-- YAML
2028
2028
added: v17.5.0
@@ -2071,7 +2071,7 @@ for await (const result of concatResult) {
2071
2071
}
2072
2072
```
2073
2073
2074
- ### ` readable.drop(limit[, options]) `
2074
+ ##### ` readable.drop(limit[, options]) `
2075
2075
2076
2076
<!-- YAML
2077
2077
added: v17.5.0
@@ -2093,7 +2093,7 @@ import { Readable } from 'stream';
2093
2093
await Readable .from ([1 , 2 , 3 , 4 ]).drop (2 ).toArray (); // [3, 4]
2094
2094
```
2095
2095
2096
- ### ` readable.take(limit[, options]) `
2096
+ ##### ` readable.take(limit[, options]) `
2097
2097
2098
2098
<!-- YAML
2099
2099
added: v17.5.0
@@ -2115,7 +2115,7 @@ import { Readable } from 'stream';
2115
2115
await Readable .from ([1 , 2 , 3 , 4 ]).take (2 ).toArray (); // [1, 2]
2116
2116
```
2117
2117
2118
- ### ` readable.asIndexedPairs([options]) `
2118
+ ##### ` readable.asIndexedPairs([options]) `
2119
2119
2120
2120
<!-- YAML
2121
2121
added: v17.5.0
@@ -2139,7 +2139,7 @@ const pairs = await Readable.from(['a', 'b', 'c']).asIndexedPairs().toArray();
2139
2139
console .log (pairs); // [[0, 'a'], [1, 'b'], [2, 'c']]
2140
2140
```
2141
2141
2142
- ### ` readable.reduce(fn[, initial[, options]]) `
2142
+ ##### ` readable.reduce(fn[, initial[, options]]) `
2143
2143
2144
2144
<!-- YAML
2145
2145
added: v17.5.0
0 commit comments