Registry / database / dbgate

dbgate

JSON →
library5.5.7-alpha.33jsnpmunverified

DbGate is an open-source database administration tool with a web interface, supporting multiple databases including MySQL, PostgreSQL, SQLite, MSSQL, and MongoDB. The current stable version is 7.1.9, with frequent releases addressing bugs and security issues. It stands out for its AI features, export capabilities, and cloud integration. As of v7.1.9, the npm package 'dbgate' is deprecated; use 'dbgate-serve' instead.

npm install dbgate
INSTALL
IMPORT
SIG · DBGATE
D
dbgate
databasejavascriptv5.5.7-alpha.33
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
✓ import dbgate from 'dbgate'
✗ const dbgate = require('dbgate')
ESM-only; requires ES module system.
DbGateServer
✓ import { DbGateServer } from 'dbgate'
✗ const { DbGateServer } = require('dbgate')
Named export for server functionality.
DbGateClient
✓ import { DbGateClient } from 'dbgate'
✗ import DbGateClient from 'dbgate'
Named export, not default.

Sets up a DbGate server using Express. Note that the package has been renamed to 'dbgate-serve'.

const express = require('express'); const { DbGateServer } = require('dbgate-serve'); const app = express(); const server = new DbGateServer({ expressApp: app }); app.listen(3000, () => console.log('DbGate running on port 3000'));
dbgate-serve --version
Debug
Known issues
deprecatedPackage 'dbgate' is deprecated; use 'dbgate-serve' instead.
fix
npm install dbgate-serve and update imports accordingly.
affects: >=5.0.0
breakingUpgraded to ESM-only module system in v3.0.0.
fix
Switch to ES module imports (import/export).
affects: >=3.0.0
gotchaRequires a running database server; not an embedded library.
fix
Ensure database connections are configured correctly.
affects: all
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/node_modules/dbgate/index.mjs from /path/to/package.json not supported.
Using CommonJS require() on an ESM-only package.
fix
Use import statements or set type: 'module' in package.json.
DbGateServer is not a constructor
Using default import instead of named import for DbGateServer.
fix
import { DbGateServer } from 'dbgate';
Upgrade
Version history
5.5.7-alpha.33latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
dbgate — npm install dbgate · libregistry