{"library":"mysql-async-simple","type":"library","category":null,"description":"A minimal async/await wrapper around the standard `mysql` package for Node.js (v1.0.3). It provides three simple functions: `makeDb`, `db.connect`, `db.query`, and `db.close`. Unlike alternatives like `mysql2` or `mysql2/promise`, this library keeps the familiar `mysql` API but returns promises. It has no additional dependencies beyond `mysql`, but does not support TypeScript types out-of-the-box. Low release cadence; last update was in 2020.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","mysql","async","nodejs"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-async-simple","imports":["const { makeDb } = require('mysql-async-simple');","const db = makeDb();","const rows = await db.query(connection, sql);"]},{"cmd":"yarn add mysql-async-simple","imports":[]},{"cmd":"pnpm add mysql-async-simple","imports":[]}],"homepage":"https://github.com/hashgit/mysql-async-simple#readme","github":"https://github.com/hashgit/mysql-async-simple","docs":null,"changelog":null,"pypi":null,"npm":"mysql-async-simple","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}