MySQL requester abstraction layer for Plywood (v2.3.0). Provides a function to generate a MySQL requester that accepts queries and returns Q promises resolving to data tables. Designed for Node.js, commonly used with the Plywood analytics library. Limited release cadence (minor versions). Alternative to direct mysql2 usage, tightly coupled with Plywood's Q-promise patterns. Ships TypeScript declarations.
npm install plywood-mysql-requesterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a requester with MySQL connection config and execute a query.
Use .then() / .done() Q patterns or convert via Q().nodeify()
Use mySqlRequester(options) instead of new MySqlRequester(options)
Manually read DB_USER, DB_PASS etc.
Use .then() for results
Wrap requester creation in a connection pool manager
import { mySqlRequester } from 'plywood-mysql-requester'npm install plywood-mysql-requester
Append .done() to catch silent errors
Verify host, user, password, database in options