{"library":"koa-mysql","type":"library","category":null,"description":"Koa 1.x wrapper for the mysql npm package (felixge/node-mysql). Current stable version is 1.0.3, last published in 2016. Designed for Koa 1 with generator-based middleware, using co under the hood to yield queries. Not compatible with Koa 2 async/await or modern ESM patterns. Alternatives include mysql2 with promise support or direct use of mysql driver.","language":"javascript","status":"deprecated","version":"1.0.3","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install koa-mysql","imports":["var mysql = require('koa-mysql')","var db = mysql.createPool({...})","var rows = yield db.query('...', params)"]},{"cmd":"yarn add koa-mysql","imports":[]},{"cmd":"pnpm add koa-mysql","imports":[]}],"homepage":"https://github.com/eladnava/koa-mysql#readme","github":"https://github.com/eladnava/koa-mysql","docs":null,"changelog":null,"pypi":null,"npm":"koa-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}