Node.js
The SurrealDB SDK for JavaScript using the Node.js engine.
The @surrealdb/node package is a plugin for the JavaScript SDK that runs SurrealDB as an embedded database within Node.js, Bun, or Deno. It supports in-memory databases and persistent storage via RocksDB and SurrealKV.
Important
Installation
First, install the JavaScript SDK if you haven't already. Then add the Node.js engine:
Quick start
Learn more
Connecting to SurrealDB for engine registration, embedded protocols, and connection options
