JavaScript

JavaScript SDK

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

Frameworks

ReactReact

React

available
Solid.jsSolid.js

Solid.js

available
Vue.jsVue.js

Vue.js

available
Next.jsNext.js

Next.js

coming soon
AngularAngular

Angular

coming soon
SvelteSvelte

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