From eff2395bde28e6967eaaf56b9d31905459244008 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 17 Dec 2020 23:42:01 -0500 Subject: [PATCH] docs: fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d243880..dc3115d 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ s3.set({ bucket, prefix, key, - body, // new Buffer("hello, world") + body, // Buffer.from("hello, world") // or fs.createReadStream("./file.txt") - size // fs.stat("./file.txt").size (required for streams) + size // (await fs.stat("./file.txt")).size (required for streams) }); ```