{"library":"mysql-promise","type":"library","category":null,"description":"mysql-promise is a small wrapper version 5.0.0 for the mysql and mysql2 Node.js drivers that returns promises instead of callbacks. It provides a simple API with query, configure, and support for multiple database connections. Unlike alternatives like mysql2/promise, it wraps the legacy mysql package and allows using any promise implementation. Release cadence is low; last release was 2019.","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","mysql","promise"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-promise","imports":["const db = require('mysql-promise')();","import db from 'mysql-promise'; const instance = db();","const db = require('mysql-promise')(); db.query(...)"]},{"cmd":"yarn add mysql-promise","imports":[]},{"cmd":"pnpm add mysql-promise","imports":[]}],"homepage":"https://github.com/martinj/node-mysql-promise#readme","github":"https://github.com/martinj/node-mysql-promise","docs":null,"changelog":null,"pypi":null,"npm":"mysql-promise","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}