{"library":"promise-mysql","type":"library","category":null,"description":"promise-mysql is a Node.js library that provides a promise-based wrapper around the `mysqljs/mysql` driver. It leverages the Bluebird promise library to transform the traditional callback-based API of `node-mysql` into an asynchronous, promise-returning interface, supporting `async/await` patterns. Currently at version 5.2.0, this package has not seen a major release in over four years, with its core dependency, `mysqljs/mysql`, also being largely unmaintained. While it differentiates itself by offering promise support for the widely used `node-mysql` driver, modern applications might opt for `mysql2/promise` for native promise support and better performance and features. Its release cadence has been infrequent, indicating a mature but largely static project.","language":"javascript","status":"maintenance","version":"5.2.0","tags":["javascript","promise","performance","promises","promises-a","promises-aplus","async","await","deferred"],"install":[{"cmd":"npm install promise-mysql","imports":["import mysql from 'promise-mysql';\nconst connection = await mysql.createConnection(options);","const mysql = require('promise-mysql');\nconst pool = await mysql.createPool(options);","const [rows, fields] = await connection.query('SELECT * FROM users');"]},{"cmd":"yarn add promise-mysql","imports":[]},{"cmd":"pnpm add promise-mysql","imports":[]}],"homepage":null,"github":"https://github.com/lukeb-uk/node-promise-mysql","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/promise-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/promise-mysql/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}