Files SDK
Files SDK is a unified storage SDK that eliminates the complexity of working with multiple object storage providers. With one honest, minimal API, you can seamlessly integrate S3, Cloudflare R2, Google Cloud Storage, Azure Blob, and 25+ other backends without rewriting code when switching providers.
Product Highlights
- One API for 25+ Providers: Swap between S3, R2, GCS, Azure, Vercel Blob, and more without changing your code
- Web-Standards I/O: Native support for File, Blob, ReadableStream, ArrayBuffer, and strings—runs on Node.js, Bun, Workers, and Vercel
- Escape Hatch via files.raw: Access native client capabilities instantly for provider-specific features like versioning, ACLs, and multipart uploads
- Predictable Error Handling: Single FilesError with normalized codes across all providers, original error preserved as cause
- Zero Configuration Overhead: Fixed adapter at construction keeps call sites flat and predictable
Use Cases
- Multi-Cloud Strategy: Build applications that avoid vendor lock-in by abstracting storage operations across providers
- Edge-Deployed Applications: Leverage web-standard I/O to run seamlessly on serverless and edge environments
- Storage Migration: Move between providers or implement failover strategies without codebase rewrites
- Developer Tooling: Build internal platforms that standardize file operations across diverse infrastructure
Target Audience
Files SDK is built for backend engineers, platform teams, and developers building multi-tenant or multi-cloud applications who need reliable, portable storage abstraction without sacrificing escape hatches to native functionality.