This package wraps the mysql nodejs client package (https://www.npmjs.com/package/mysql) into an async/await library.
Basic Example
const makeDb = ;const mysql = ; const connection = mysql;const db = ;await db; try const users = await db; catch e // handle exception finally await db;
For more information visit github https://github.com/hashgit/mysql-async-simple#readme
NPM
Available to install as a package at npm registry (https://www.npmjs.com/package/mysql-async-simple)
Credits
This package is based on this blog post by Michał Męciński https://codeburst.io/node-js-mysql-and-async-await-6fb25b01b628