Compare commits
No commits in common. "498e8cca1cc4b2bc6e0857b2e1524842cf63dbeb" and "ac1c6e6d597580f4c3aa0ce4d82085dbdf721fa2" have entirely different histories.
498e8cca1c
...
ac1c6e6d59
|
@ -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)
|
||||
});
|
||||
```
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue