mirror of
https://github.com/therootcompany/s3.js.git
synced 2024-11-16 17:09:00 +00:00
docs: fix typos
This commit is contained in:
parent
ce7ec4d621
commit
eff2395bde
@ -34,10 +34,10 @@ s3.set({
|
|||||||
bucket,
|
bucket,
|
||||||
prefix,
|
prefix,
|
||||||
key,
|
key,
|
||||||
body, // new Buffer("hello, world")
|
body, // Buffer.from("hello, world")
|
||||||
// or fs.createReadStream("./file.txt")
|
// or fs.createReadStream("./file.txt")
|
||||||
|
|
||||||
size // fs.stat("./file.txt").size (required for streams)
|
size // (await fs.stat("./file.txt")).size (required for streams)
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user