Filebase
Filebase via the S3-compatible API. Fronts decentralized networks (IPFS, Sia, Storj) chosen per-bucket.
Installation
@aws-sdk/client-s3, @aws-sdk/s3-presigned-post, and @aws-sdk/s3-request-presigner are optional peer dependencies of files-sdk - install alongside the SDK so the adapter's imports resolve at runtime.
npm install files-sdk @aws-sdk/client-s3 @aws-sdk/s3-presigned-post @aws-sdk/s3-request-presignerUsage
import { Files } from "files-sdk";
import { filebase } from "files-sdk/filebase";
const files = new Files({
adapter: filebase({
bucket: "uploads",
// accessKeyId / secretAccessKey auto-loaded from
// FILEBASE_ACCESS_KEY_ID / FILEBASE_SECRET_ACCESS_KEY
}),
});Filebase via its S3-compatible API. Filebase fronts decentralized storage networks (IPFS, Sia, Storj) behind a standard S3 gateway - the network is chosen per-bucket in the dashboard, not per-request. A thin wrapper around the S3 adapter pointed at https://s3.filebase.com, with errors relabelled. Auto-loads from FILEBASE_ACCESS_KEY_ID and FILEBASE_SECRET_ACCESS_KEY. Generate access keys in the Filebase console under Access Keys.
Options
Prop
Type
Compatibility
| Method | Status | Notes |
|---|---|---|
upload | ✅ | |
download | ✅ | |
delete | ✅ | |
list | ✅ | |
search | ✅ | |
head | ✅ | |
exists | ✅ | |
copy | ✅ | |
url | ✅ | |
signedUploadUrl | ✅ |
Exoscale Object Storage
Exoscale Object Storage (SOS) via the S3-compatible API. Endpoint derived from the zone code (ch-gva-2, de-fra-1, ...).
Firebase Storage
Firebase Cloud Storage via the official firebase-admin SDK. Underlying client is @google-cloud/storage, so V4 signed URLs and POST policy uploads come for free.