{"library":"mysql-singleton","type":"library","category":null,"description":"A minimal singleton wrapper around the MySQL npm driver that provides a single shared connection pool. Currently at version 1.0.5, last updated in 2018. It offers both callback-based and Promise-based connection retrieval. Differentiators: extremely simple API, but lacks connection management features and is not actively maintained. Consider using mysql2 or knex for production.","language":"javascript","status":"deprecated","version":"1.0.5","tags":["javascript","mysql","mysql-singleton","mysql-pool"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-singleton","imports":["const mysql_singleton = require('mysql-singleton');","mysql_singleton.config({host:'localhost',user:'root',password:'',database:'test'});","mysql_singleton.getConnection(function(err, connection) { ... });"]},{"cmd":"yarn add mysql-singleton","imports":[]},{"cmd":"pnpm add mysql-singleton","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"mysql-singleton","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}