You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@xenodb/server

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xenodb/server

Blazingly fast, lightweight, and simple database server.

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
82
24.24%
Maintainers
0
Weekly downloads
 
Created
Source

Docs for @xenodb/server. To be used with @xenodb/client

npm install @xenodb/server
import { DatabaseServer } from "@xenodb/server"; // For ES Module
const { DatabaseServer } = require("@xenodb/server"); // For CommonJS

const server = new DatabaseServer({
  port: 8080,
  auth: "YOUR_SECRET_TOKEN"
});

server.onStdout = (msg) => console.log(`${new Date().toLocaleString()} - [DATABASE_SERVER] - ${msg}`);
type ConstructorOptions = {
  auth: string; // Authentication token/secret
  port: number; // Server port (e.g., 8080, 443)
  ssl?: SSLOptions; // SSL configuration (Optional)
};

type SSLOptions = {
  key: string; // Private key content
  cert: string; // Certificate content
  ciphers?: string; // Allowed cipher suites
  dhparam?: string; // Diffie-Hellman parameters
  passphrase?: string; // Private key passphrase
  requestCert?: boolean; // Request client certificate
  ca?: string | string[]; // Certificate Authority
  secureProtocol?: string; // SSL/TLS protocol version
  honorCipherOrder?: boolean; // Use server cipher preferences
  rejectUnauthorized?: boolean; // Reject unauthorized connections
};

Issues & Support : Discord | Github

FAQs

Package last updated on 04 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.