Registry / database / nodeadmin

nodeadmin

JSON →
library0.1.2jsnpmunverified

NodeAdmin is a MySQL/Express administration middleware that provides a web-based dashboard for managing MySQL databases via Node.js/Express applications. Version 0.1.2 is the latest stable release; the project appears to be in maintenance mode with no recent updates. Unlike phpMyAdmin or Adminer, it integrates directly into Express middleware and offers CPU/memory monitoring, table/record management, and direct SQL query execution. It requires an Express app instance passed to the middleware and only supports Unix-based systems (not Windows).

npm install nodeadmin
INSTALL
IMPORT
SIG · NODEADMIN
N
nodeadmin
databasejavascriptv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

nodeadmin
const nodeadmin = require('nodeadmin'); app.use(nodeadmin(app));
import nodeadmin from 'nodeadmin';
The package uses CommonJS and is not ESM-compatible. Use require().
default export
const nodeadmin = require('nodeadmin');
import { nodeadmin } from 'nodeadmin';
Default export only; named import will fail.

Shows basic setup integrating NodeAdmin middleware with Express. Note: requires MySQL server accessible for login.

const express = require('express'); const mysql = require('mysql'); const nodeadmin = require('nodeadmin'); const app = express(); app.use(nodeadmin(app)); app.get('/', (req, res) => res.send('Hello World!')); app.listen(3000, () => console.log('App running on port 3000'));
Debug
Known issues
breakingNodeAdmin does not support Windows
fix
Use on Linux or macOS, or run in a Docker container.
affects: >=0.0.1
gotchaapp parameter must be the express app instance
fix
Call nodeadmin(app) where app is created via express().
affects: >=0.0.1
deprecatedNo updates since 2017; likely unmaintained for production use
fix
Consider alternatives like phpMyAdmin or Adminer.
affects: >=0.1.2
Errors
Common errors & fixes
TypeError: nodeadmin is not a function
Using ES import syntax with this CommonJS-only package
fix
Use require('nodeadmin') instead of import.
Cannot find module 'nodeadmin'
Package not installed or missing from node_modules
fix
Run npm install nodeadmin and ensure node_modules is correct.
Upgrade
Version history
0.1.2latest on npm
Audit
Dependencies
expressrequiredNodeAdmin is Express middleware and requires an Express app instance.
Agent activity
5 hits · last 30 days
node
4
Resources
nodeadmin — npm install nodeadmin · libregistry