Quickstart
1
Installation
Install the Turso Sync package:
2
Getting Started
To sync a database hosted at Turso Cloud:
3
Sync Operations
The
db object has the same functions as the Database class from @tursodatabase/database package but adds additional methods for sync:4
Working with Data
You can perform regular database operations alongside sync:
Examples
Explore these Sync examples to learn more about using Turso Sync + Cloud:- Node — Node.js with bidirectional sync to Turso Cloud
- Wasm + Vite — Browser (WASM) with bidirectional sync to Turso Cloud