lz-nmysql is a lightweight MySQL interface wrapper for Node.js. This package provides a simplified API for executing queries and managing connections. Current version is 1.0.4. There is no clear release cadence. It differentiates by offering a thin layer over the mysql driver. However, note that this package has no README, is unmaintained, and may have security issues. Use at your own risk.
npm install lz-nmysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a MySQL connection and running a simple query using lz-nmysql, assuming promise-based API.
Consider using mysql2 or other actively maintained MySQL drivers.
Use dynamic import() or switch to ESM.
Wrap calls with promisify or use a wrapper.
Run npm install lz-nmysql
Ensure you are using the correct import: import mysql from 'lz-nmysql'
Check MySQL service and connection credentials.