A lightweight MySQL client library for Node.js, version 0.1.65. Provides basic database connection and query functionality with a simple API. Release cadence is irregular with limited maintenance. Differentiators: minimal dependencies and straightforward usage for small projects, but lacks advanced features like connection pooling or prepared statements found in more mature libraries like mysql2 or knex.
npm install speedt-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a MySQL connection and executes a simple SELECT query using callbacks.
Use a connection pooling library like mysql2 with pool, or manage connections manually.
Wrap queries in Promise: new Promise((resolve, reject) => connection.query(sql, (err, res) => err ? reject(err) : resolve(res))).
Check documentation for alternative method or migrate to mysql2.
Install with 'npm install speedt-mysql' and ensure your Node.js version supports ESM (>=13.2) or use dynamic import.
Use default import: 'import mysql from 'speedt-mysql'' or 'const mysql = await import('speedt-mysql')'.