• Start

Languages

/

JavaScript

Overview

The SurrealDB SDK for JavaScript enables simple and advanced querying of a remote or embedded database.

The SurrealDB SDK for JavaScript and TypeScript lets you easily connect to SurrealDB from any environment: frontend, backend, serverless, or embedded within your app. It supports connecting to remote or embedded databases, running queries, managing data and authentication, and subscribing to real-time updates with live queries.

Note

The latest version of the SDK is javascript.
The SDK works with SurrealDB versions v2.0.0 to , ensuring compatibility with the latest version.

React

available

Solid.js

available

Vue.js

available

Next.js

coming soon

Angular

coming soon

Svelte

coming soon

You can find example repositories that demonstrate how to integrate SurrealDB in a number of different environments:

To contribute to the SDK code, submit an Issue or Pull Request in the surrealdb.js repository. To contribute to this documentation, submit an Issue or Pull Request in the docs.surrealdb.com repository.

Was this page helpful?