Compare commits

..

3 Commits

Author SHA1 Message Date
AJ ONeal 498e8cca1c 1.1.3 2020-12-17 23:42:06 -05:00
AJ ONeal eff2395bde docs: fix typos 2020-12-17 23:42:01 -05:00
AJ ONeal ce7ec4d621 1.1.2 2020-12-17 14:04:02 -07:00
3 changed files with 4 additions and 4 deletions

View File

@ -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)
}); });
``` ```

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@root/s3", "name": "@root/s3",
"version": "1.1.1", "version": "1.1.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@root/s3", "name": "@root/s3",
"version": "1.1.1", "version": "1.1.3",
"description": "A simple, lightweight s3 client with only 2 dependencies", "description": "A simple, lightweight s3 client with only 2 dependencies",
"main": "index.js", "main": "index.js",
"bin": { "bin": {