Skip to content

TypeScript/JavaScript SDK #86

@mxvsh

Description

@mxvsh

Summary

Implement a first-party TypeScript/JavaScript SDK (@drivebase/sdk) to allow developers to interact with Drivebase programmatically. The SDK will abstract the underlying API (REST/GraphQL) and provide a unified, type-safe interface for managing files across multiple storage providers (S3, Dropbox, Google Drive, etc.) from Node.js, browser, and edge environments.

Requirements

  • Unified Storage API: Simple methods for common operations (e.g., upload, download, list, delete) that work across all supported providers.
  • Type Safety: Full TypeScript support with exported interfaces matching the core Drivebase schemas.
  • Environment Support: Compatible with Node.js (CommonJS/ESM) and modern bundlers (Vite, Webpack).
  • Multipart Uploads: Built-in handling for chunked/multipart uploads to manage large files reliably.
  • Authentication: Streamlined management of API keys or OAuth tokens for secure communication.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions