{"library":"async-mysql","type":"library","category":null,"description":"async-mysql is a lightweight wrapper around the popular mysql npm package that enables async/await syntax for MySQL database operations. Its current stable version is 1.0.1, and it has not seen updates since 2017. The library provides a simple promise-based API, allowing developers to use ES7 async functions instead of callbacks. It is designed for Node.js environments and simplifies connection management and query execution. However, it does not support connection pooling or prepared statements directly, relying on the underlying mysql package for core functionality. The library is considered stable but feature-limited, and alternatives like mysql2 or knex offer more modern features.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","mysql","async","promise"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install async-mysql","imports":["import async_mysql from 'async-mysql'","const connection = await async_mysql.connect({ host: 'localhost' });","const rows = await connection.query('SELECT 1');"]},{"cmd":"yarn add async-mysql","imports":[]},{"cmd":"pnpm add async-mysql","imports":[]}],"homepage":"https://github.com/gajus/async-mysql.js","github":"https://github.com/gajus/async-mysql.js","docs":null,"changelog":null,"pypi":null,"npm":"async-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}