Node.js — dbx-py

npm

Official Node.js bindings for DBX high-performance embedded database.

Key Features

  • 🚀 Native Performance: Rust-based N-API bindings
  • 💾 5-Tier Storage: WOS → L0 → L1 → L2 → Cold Storage
  • 🔒 MVCC Transactions: Snapshot isolation support
  • 📊 SQL Support: Full DDL + DML support
  • 🔐 Encryption: AES-GCM-SIV, ChaCha20-Poly1305
  • 📘 TypeScript: Full type definitions

Quick Start

npm install dbx-py
import { Database } from 'dbx-py';

const db = Database.openInMemory();

// KV operations
db.insert('users', Buffer.from('user:1'), Buffer.from('Alice'));
const value = db.get('users', Buffer.from('user:1'));
console.log(value?.toString());  // Alice

// SQL operations
db.executeSql('CREATE TABLE users (id INTEGER, name TEXT)');
db.executeSql("INSERT INTO users VALUES (1, 'Alice')");
const result = db.executeSql('SELECT * FROM users');
console.log(result);

db.close();

Documentation

Version Info

  • Current Version: 0.0.6-beta
  • Node.js Requirements: 16+
  • Platform: Windows x64 (Linux/macOS planned)

License

MIT License


Table of contents


Copyright © 2026 ByteLogicCore. MIT OR Apache-2.0 License.

This site uses Just the Docs, a documentation theme for Jekyll.