Compare commits

..

No commits in common. "498e8cca1cc4b2bc6e0857b2e1524842cf63dbeb" and "ac1c6e6d597580f4c3aa0ce4d82085dbdf721fa2" have entirely different histories.

共有 3 個文件被更改,包括 4 次插入4 次删除

查看文件

@ -34,10 +34,10 @@ s3.set({
bucket,
prefix,
key,
body, // Buffer.from("hello, world")
body, // new Buffer("hello, world")
// or fs.createReadStream("./file.txt")
size // (await fs.stat("./file.txt")).size (required for streams)
size // fs.stat("./file.txt").size (required for streams)
});
```

2
package-lock.json generated
查看文件

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

查看文件

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