A Node.js package that provides HTTP RESTful API endpoints to execute MySQL queries, designed for use with Postman or any HTTP client. Version 1.0.14 is the latest stable release with no clear release cadence. Key differentiator: allows database interaction directly via HTTP without custom server code, but lacks modern security features and is intended for local development or testing. Alternative to custom-built API servers or admin tools like phpMyAdmin.
npm install kpmysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to start the kpmysql server and make a query via HTTP using curl or Node.js http module.
Only use on localhost or behind a firewall; never expose to the internet.
Implement a whitelist of allowed queries or use a middleware to sanitize input.
Modify the source to change port or use process manager to assign alternate port.
Run 'npm install express' in the project directory or install globally.
Ensure only one query per request or restart the server.