Installation
List of officially supported buckets
Usage
You’re likely not going to use this plugin directly, as this is just a connection between other plugins.
Extend the plugin
Here’s an example from the R2 plugin:src/lib/index.ts
Methods
metadata
Get the metadata of a file.
Parameters: path: string
Returns: unknown
download
Download a file.
Parameters: path: string
Returns: ArrayBuffer
upload
Upload a file.
Parameters: path: string, data: ArrayBuffer
Returns: void
remove
Remove a file.
Parameters: path: string
Returns: void
