The SurrealDB SDK for JavaScript is the primary SDK for interacting with SurrealDB over the web. It is designed to be used in a number of environments, including browser-based applications, server-side applications, and serverless functions. The SDK is designed to be lightweight and easy to use, and provides a number of built-in functions for connecting to a database, performing queries, and managing data.
ImportantThe SDK works seamlessly with SurrealDB version
v2.0.4
, ensuring compatibility with the latest features and improvements of the database system.
You can find example repositories that demonstrate how to integrate SurrealDB in a number of different environments:
A simple note-taking application built with SurrealDB, React, and Vite.
A simple TypeScript starter project using Bun.