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.

Language and engines

JavaScript
available

Node.js
available

WebAssembly
available

Frameworks

React
available

Solid.js
available

Vue.js
available

Next.js
coming soon

Angular
coming soon

Svelte
coming soon

Example projects

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

Contributing

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.

Sources