npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dbnexus

v0.1.10

Published

Database management tool with web UI

Readme

DB Nexus

Database management tool with web UI

npm version License: MIT

Features

  • 🖥️ Modern Web UI - Beautiful interface for database management
  • 🔌 Multiple Databases - PostgreSQL, MySQL, MariaDB, SQLite
  • 🔄 Schema Sync - Compare and migrate schemas between databases
  • 📊 Data Sync - Synchronize table data with conflict resolution
  • 🗺️ Schema Diagram - Visual database schema editor with drag-and-drop
  • 🔗 FK Navigation - Click foreign key values to query referenced rows
  • 📜 Query History - Track and replay queries
  • 🔒 Secure - Encrypted credentials with AES-256-GCM
  • 🛡️ Safety First - Production guardrails for dangerous queries
  • 🔎 Auto-Discovery - Scan for databases via ports, Docker, env files

Installation

Global Installation

npm install -g dbnexus

Using npx

npx dbnexus

Usage

Start DB Nexus:

dbnexus

This will start the server and open your browser to http://localhost:3001.

Options

dbnexus --port 8080           # Run on custom port
dbnexus --data-dir /path      # Use custom data directory
dbnexus --no-open             # Don't open browser automatically
dbnexus --help                # Show help

Commands

dbnexus                       # Start DB Nexus (default)
dbnexus start                 # Explicit start command
dbnexus --version             # Show version

Data Storage

DB Nexus stores its metadata database in:

  • Linux/Mac: ~/.dbnexus/metadata.db
  • Windows: %USERPROFILE%\.dbnexus\metadata.db

You can customize this location:

# Using flag
dbnexus --data-dir /custom/path

# Using environment variable
DBNEXUS_DATA_DIR=/custom/path dbnexus

Features Overview

Connection Management

  • Add and manage multiple database connections
  • Organize connections into projects and groups
  • Test connection health
  • Encrypted credential storage
  • Auto-discover databases via port scanning and Docker

Query Editor

  • Execute SQL queries with syntax highlighting
  • View results in a data grid
  • Edit data inline
  • Click FK values to navigate to referenced rows
  • Query history and saved queries

Schema Management

  • Browse tables, columns, indexes, and foreign keys
  • Visual schema diagram with drag-and-drop
  • Compare schemas between databases
  • Generate migration SQL
  • Apply schema changes

Data Synchronization

  • Compare data between tables
  • Sync data with conflict resolution
  • Bulk data operations
  • Dump and restore databases

Requirements

  • Node.js 18 or higher
  • One of: PostgreSQL, MySQL, MariaDB, or SQLite

Supported Databases

  • PostgreSQL 9.6+
  • MySQL 5.7+
  • MariaDB 10.2+
  • SQLite 3.0+

Configuration

Environment Variables

  • DBNEXUS_DATA_DIR - Custom data directory
  • PORT - Server port (default: 3001)
  • NODE_ENV - Environment (development/production)

Uninstallation

# Remove the package
npm uninstall -g dbnexus

# Remove all data
rm -rf ~/.dbnexus

Documentation

Contributing

Contributions are welcome! Please see our Contributing Guide.

License

MIT © DB Nexus Team

Support


Like Prisma Studio, but for any database - Manage PostgreSQL, MySQL, MariaDB, and SQLite databases with a beautiful web interface.