mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: fix broken link to Got stream documentation (#3323)
This commit is contained in:
parent
9a0d9eed74
commit
e547eaa180
@ -215,7 +215,7 @@ promises.push(
|
|||||||
.toFile("optimized-500.webp")
|
.toFile("optimized-500.webp")
|
||||||
);
|
);
|
||||||
|
|
||||||
// https://github.com/sindresorhus/got#gotstreamurl-options
|
// https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md
|
||||||
got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
|
got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
|
||||||
|
|
||||||
Promise.all(promises)
|
Promise.all(promises)
|
||||||
|
@ -382,7 +382,7 @@ Object.setPrototypeOf(Sharp, stream.Duplex);
|
|||||||
* .toFile("optimized-500.webp")
|
* .toFile("optimized-500.webp")
|
||||||
* );
|
* );
|
||||||
*
|
*
|
||||||
* // https://github.com/sindresorhus/got#gotstreamurl-options
|
* // https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md
|
||||||
* got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
|
* got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
|
||||||
*
|
*
|
||||||
* Promise.all(promises)
|
* Promise.all(promises)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user