We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3810094 commit 5e053b2Copy full SHA for 5e053b2
README.md
@@ -48,7 +48,7 @@ const objects = await blob.objects.list()
48
49
```ts
50
const blobObject = await blob.objects.put({
51
- file: "path/to/file.png", // Absolute path to your file or Buffer
+ file: "path/to/file.png", // Absolute path to your file
52
name: "my_image", // File name without extension
53
})
54
@@ -59,6 +59,7 @@ console.log(blobObject.url)
59
60
61
import { MimeTypes } from "@squarecloud/blob"
62
+// CommonJS => const { MimeTypes } = require("@squarecloud/blob")
63
64
65
file: Buffer.from("content"),
0 commit comments