{"library":"mysql-easy","type":"library","category":null,"description":"A lightweight promise-based wrapper around the mysql package (version 2.x) that simplifies common database operations like select, insert, update, and delete. Version 0.3.3 is the current stable release; the package has seen no updates for over 5 years and is considered feature-complete. It provides a cleaner API with helper methods for CRUD operations and transaction support, but lacks TypeScript definitions and modern async/await patterns. It is best suited for small to medium projects already using the mysql driver, but for new projects consider more up-to-date alternatives like mysql2 or knex.","language":"javascript","status":"maintenance","version":"0.3.3","tags":["javascript","mysql","promise"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-easy","imports":["const mysqlEasy = require('mysql-easy');","const db = mysqlEasy.createPool({...});","db.query('SELECT * FROM users WHERE id = ?', [12]).then(results => ...).catch(err => ...);","db.insert('users', { user_name: 'foo', age: 30 }).then(result => console.log(result.insertId));","db.select({ table: 'users', where: { id: 12 } }).then(rows => ...);"]},{"cmd":"yarn add mysql-easy","imports":[]},{"cmd":"pnpm add mysql-easy","imports":[]}],"homepage":"https://github.com/Bacher/mysql-easy#readme","github":"https://github.com/Bacher/mysql-easy","docs":null,"changelog":null,"pypi":null,"npm":"mysql-easy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}