A library for importing and exporting database contents from Cloudflare Durable Objects with SQLite storage. The current stable version is 0.0.22, released as an early-stage package with frequent updates. It enables cross-DO data transfer using streaming SQL cursors, with decorator-based or manual integration patterns. Key differentiators: relies on the companion package remote-sql-cursor, uses Basic Auth with optional read-only public access, and supports cloning between DOs.
npm install transferable-objectNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to decorate a DO for transferability and clone data between two DOs.
Add @Streamable() decorator from 'remote-sql-cursor' and ensure fetch handler is implemented.
Pin to a specific version and review changelog before upgrading.
Always provide secret in options or set isReadonlyPublic: true for public read access.
Run 'npm install remote-sql-cursor'
Ensure @Streamable() decorator is applied and properly imported.
Add an async fetch(request) method to your DO class.