{"library":"slim-node-mysql","type":"library","category":null,"description":"A lightweight MySQL database abstraction layer for Node.js that simplifies pooling and prepared statements. Version 4.0.3 is the current stable release, with semi-regular updates from a single maintainer. It wraps the popular mysql2 driver, providing an async/await interface with named parameter support (using @param syntax) and TypeScript type definitions built-in. Key differentiators: no external dependencies beyond mysql2, minimal API surface with methods like query(), execute(), getOne(), getValue(), and exists(), and automatic connection pooling via a single class instance. Suitable for small-to-medium projects wanting a thin wrapper without ORM overhead.","language":"javascript","status":"active","version":"4.0.3","tags":["javascript","mysql","mysql2","database","abstract","pooling","promise","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install slim-node-mysql","imports":["import { SlimNodeMySQL } from 'slim-node-mysql'","import { ExecuteResult } from 'slim-node-mysql'","const rows = await database.query<User>('SELECT * FROM users WHERE id = @id', { id: 1 })"]},{"cmd":"yarn add slim-node-mysql","imports":[]},{"cmd":"pnpm add slim-node-mysql","imports":[]}],"homepage":"https://github.com/jakecyr/slim-node-mysql#readme","github":"https://github.com/jakecyr/slim-node-mysql","docs":null,"changelog":null,"pypi":null,"npm":"slim-node-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}