DEV Community

Nikko Mesina
Nikko Mesina

Posted on

Cloud Oneliners

While most storage libraries lock you to one cloud — and stop at the server.

Genera (@rocketbean/genera) is one TypeScript API for S3, Cloudflare R2, GCS, Azure Blob, Dropbox, OneDrive, Google Drive, and Box — that runs unchanged in the browser and Node.

const storage = createStorage(new S3Driver({ bucket, region, credentials }));
await storage.put("report.pdf", file);
Enter fullscreen mode Exit fullscreen mode

Switch providers by changing config, not code. Typed capabilities, a raw-SDK escape hatch, OAuth2+PKCE, retries, encryption-at-rest — and every driver is verified against one shared conformance kit.

Open source, MIT.
⭐ github.com/rocketbean/genera

Top comments (0)