{"library":"mysql-magic","type":"library","category":null,"description":"Promised-based high-level extension for the mysqljs MySQL driver for Node.js >=7.6. Stable version 0.3.0 provides named connection pools, automatic connection release via async scopes, and higher-level query methods like insert, fetchRow, fetchAll. Wraps mysqljs pools with native Promises and async/await, simplifying error handling and connection lifecycle. Differentiators: global named pools, connection scopes with auto-release, high-level query API. Low maintenance cadence; last release 2019.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","mysql","mariadb","promise","library","async","es2017","await"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-magic","imports":["const _db = require('mysql-magic');","const pool = require('mysql-magic').getPool('dbname');","const result = await require('mysql-magic').getConnection('dbname', async function() { ... });"]},{"cmd":"yarn add mysql-magic","imports":[]},{"cmd":"pnpm add mysql-magic","imports":[]}],"homepage":"https://github.com/AndiDittrich/Node.mysql-magic","github":"https://github.com/AndiDittrich/Node.mysql-magic","docs":null,"changelog":null,"pypi":null,"npm":"mysql-magic","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}