Skip to content

Official drivers

Your language.
Your connection.

Embed the engine in your application or connect to a remote database. Choose the package that matches how you build.

Start with JavaScript

A database inside your app.

Use @reddb-io/sdk for an embedded Node application. Connect to memory:// for a disposable database or a file:/// URI for persistence.

Connecting to a server? Choose the thin @reddb-io/client package. It supports RedWire, HTTP and gRPC without bundling an engine.

JavaScript and TypeScript guide →
Install
pnpm add @reddb-io/sdk
TypeScript
import { connect } from '@reddb-io/sdk';

const db = await connect('memory://');
await db.insert('users', { name: 'Alice', age: 30 });
const result = await db.query(
  'SELECT * FROM users WHERE age >= $1', [30]
);
console.log(result.rows);
await db.close();

Package catalogue

Find your starting point.

Stable packages have a semver-stable public API and engine-version alignment.

Preview packages implement their documented transports; APIs may change in minor releases. Pin the version you use.

JavaScript / TypeScript

Stable
@reddb-io/sdk

Embedded (Node native addon)

Setup and API guide →
Install
pnpm add @reddb-io/sdk

JavaScript / TypeScript remote

Stable
@reddb-io/client

RedWire · HTTP · gRPC

Setup and API guide →
Install
pnpm add @reddb-io/client

Rust

Stable
reddb-io-client

Embedded · RedWire · HTTP · gRPC

Setup and API guide →
Install
cargo add reddb-io-client --features redwire

Python asyncio

Preview
reddb-asyncio

RedWire · HTTP

Setup and API guide →
Install
pip install reddb-asyncio

Go

Preview
github.com/reddb-io/reddb-go

Embedded (shared ABI) · RedWire · HTTP

Setup and API guide →
Install
go get github.com/reddb-io/reddb-go@latest

PHP

Preview
reddb-io/reddb

Embedded (FFI) · RedWire · HTTP

Setup and API guide →
Install
composer require reddb-io/reddb

Dart / Flutter

Preview
reddb

Embedded (native VM) · RedWire (VM) · HTTP

Setup and API guide →
Install
dart pub add reddb

C++

Preview
drivers/cpp (CMake)

Embedded (shared ABI) · RedWire · HTTP

Setup and API guide →

Build the C++17 driver with CMake.

Zig

Preview
drivers/zig

Embedded (shared ABI) · RedWire · HTTP

Setup and API guide →

Build from source with Zig 0.14.1 or later.

.NET (C# / F#)

Preview
Reddb

Embedded (shared ABI) · RedWire · HTTP

Setup and API guide →
Install
dotnet add package Reddb

Java

Preview
dev.reddb:reddb-jvm

Embedded (JNA) · RedWire · HTTP

Setup and API guide →

Add the Maven coordinate with the engine-matched version from the setup guide.

Kotlin

Preview
dev.reddb:reddb-kotlin

Embedded (JNA) · RedWire · HTTP

Setup and API guide →

Add the Maven coordinate with the engine-matched version from the setup guide.

Match the driver to your deployment.

Transport support is one part of the choice. Serverless, replica routing and cluster support are qualified separately. Native embedded drivers require the matching engine ABI; no language facade is currently qualified across all four execution modes.

Using a PostgreSQL client? Check the verified compatibility matrix for your client and query workload before adopting the wire protocol.

Client compatibility →