{"_id":"@fastify/mysql","_rev":"34-655ae657d0b208257536ef8859247d1d","name":"@fastify/mysql","dist-tags":{"next":"5.0.0","latest":"5.0.3"},"versions":{"3.0.0":{"name":"@fastify/mysql","version":"3.0.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@3.0.0","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"3f817f05b1257c7d122941fd0cb04fdc6b35bf63","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-3.0.0.tgz","fileCount":15,"integrity":"sha512-FVbb8lflAJBcXjQaLpHipcxyY4RDWVJVxxNm4b8uKDFpcopJeoIpNVM1X8Cp3JpmEk0mUuSPl8shp7Q4JzMDJA==","signatures":[{"sig":"MEYCIQD+MzVAyCKPpEi+T1AfFyiOb/K/8cFIuTcn74eGoeSaPAIhAJ3NBylTcx6CYEBdNrVNLOeFbi5YsBmp6t3fDmZFeQfD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaUyqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoO6g//a+US+tJEhJpjfjQZ7rLO3dOHvbPJVEr2uWZyXMTLcGMMjZr7\r\n3YwAC211Q1dnYH72SW4XTSjMDI0D5rGrhlNDkMvUUYWi4u0f291H1+8EXYYH\r\n0pP8LKgM6/p9ZVsIY34yjVhi1bIsQjo0jPm1rWd4fA1K4cREFaNfeo2TnmU8\r\nFQg2qzBN6+NVbNxsFdQqfV+1KJp80/1U/7QZQnMIYW1kdgZWvfm1Ve3rPS6s\r\ngsJzQYz1QJRC5r97qhwEfczqwY3CU/8z44CV+VKYoX3qI3zL7J83NcjY3Mg2\r\nbgtZlZU+aQUbMdK9tONkxoLpBPxI6xWshqIlSxFCBNbjpkgPqTfETf6Q0sV5\r\ncosmOcQBr6CgqfH0ECe7kv7rQOcExogCnQ13dU12ta9pJbTf6pRfVR4vsBcP\r\nWP36Wtzjxy0oEpjujGyWs7yb0aeTFrCYG1UyQvaONQV/xU2pRe/ThqauMARk\r\ni0tWqXLpq/7JZvEFDp15Hh5HzlTSHhQAG9ROWIr25hTI2kQx3VL0/f2qOR7p\r\nbksilJ35sIKN/JZevLcJVFqCCD1JWJ/8MXfRthe/sLWpExeVnpj4CUKhnhUj\r\nMlnuWuGys2hX4EjSBJ/XopBbe/RpGzL4EINrqp87axj1gY8UU8wRVpoVyrlL\r\n94/jc7XkEM9f8KGKxnkHrcUzHSGo2y+3jzQ=\r\n=95fk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"55e36ce4f26ef0ca6b60e10f319946f2556b0556","scripts":{"test":"standard && tap test/*.test.js && npm run typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","typescript":"tsd"},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"8.5.5","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"16.15.0","dependencies":{"mysql2":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^3.0.0","standard":"^17.0.0","@types/node":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_3.0.0_1651068074390_0.5740984829535418","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@fastify/mysql","version":"4.0.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@4.0.0","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"4052788cd1da33e36c69072c9fd5115b83a138cd","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-4.0.0.tgz","fileCount":15,"integrity":"sha512-z2gRjW34XQLN7TZvJhemnoeoL+/OVVRUKLTxAy/agtjfahk23huYJIwTpeqaReKRWrMS9mCgAYYN+IxF+xxrEg==","signatures":[{"sig":"MEUCIQDYPWFFeFFlq+ophbDZkXM6fzsRMpvKMvkljAjdwQU3YwIgbeL4pfoDyoa5UVgubtTWJBhEHh33RAzWJRgV21IGiNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigjVqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrt6A/+LlHhUJl+ElmzJAhnD+Br0AHQnTb2eRZhQm2TjJANoG9dL/FJ\r\nwar95YbCn3o/oXFgtyI2cbCcEn4sg26/qjxnhEAob38cSiF5wDs48HSihSub\r\nQ9Upq4j9L0vpBjqx18Aurzkc2ls5M0+0oygoVx9w9Gi8MOg+bilg8pI8yuCK\r\n01pv9piUb6LBpaXd0TuVJdAiFxWHYJCEf7zh+GQoq+W5QK+VPSIX1BUdRSpM\r\nWmd0reb4iLIWqIP1lBn4MICm0doiXAYk683mgCtwvoaPnCrkDn8kPJsqJgf8\r\nkw3KKJw7uAIZ1IsVwROYE9IuM+Dnwhi9l0uGugUUbBCmOLKNg2kRBT55RXWT\r\nK7rXExUo2f2LEaW0OWE6gK7WXXKxrntxk6A5f211AAkSgA5SA2k1m+iYjr8j\r\ntrhJa6792qnb2JsUYg19Y5UAygPWhNfZEe4f7pJBD3eLb1K8g1O6FB+CjThZ\r\nl8+MBkqJlqr7w406rpY6gLfpQyefGfUwm1tdGGSesPKwrvc+rFJiiesNLrHa\r\nb9neT4XJwk/gUjTG0yIEM/lOxFsSCffid00iaut57Ey45H/c4Tr7rMINhV/o\r\nSNcywtu0vQnyAijcj6yp9mPss/o3JCXtCMpy+f1ZC51oWI0Jf/iv5cSFZVEU\r\ngnlD+kv7UXIr3CZAgTOpBrG3HUDE0a2DlVQ=\r\n=7XQU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"3f3316c3bcb71bc7613dde3ed09ed634e2099a46","scripts":{"test":"standard && tap test/*.test.js && npm run typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"8.6.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"18.0.0","dependencies":{"mysql2":"^2.0.0","fastify-plugin":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_4.0.0_1652700522355_0.4518436026408623","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@fastify/mysql","version":"4.1.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@4.1.0","maintainers":[{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"29d3cebb26aadd7784d51fa03507a08e5f5ec205","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-4.1.0.tgz","fileCount":15,"integrity":"sha512-ji2nmRDfdyK3GL9d0Y+O3hkVvn2S/dLgG04NvauF+5dATYrlmZZPPdm3f2XpCkrRzzvOM3KlewoiYMG8IZTSxg==","signatures":[{"sig":"MEQCIDVIqjp3PuhHrfq/nxSvJ9Sc8zdn0hy75FNWrsSD+OUqAiAT6+4KSs8Et9ReBq+qCgOnn34RxFmeeMiW4OWXogalpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjcQeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmreYQ//ZYHrdht2lC9QdLJYpgYZ4lSVZVQywxPbOCriGxzlz1HYyfYW\r\ncm8B84VRGjqI1JuGrqYYnDr7XoijbP2ENDJJgR6W8HgQzQB3Q8Ghy2JtijYX\r\nQ7hb0VnkTBBrmfSBditc8TJJwHDxIJylyKnDZaJgm9x8dqBpRjW4QEy96wYA\r\nHVlws1ynm419TtVlyMXytQ/aRxgon6qZc+isSm1j7OdtMmMWdEeUiYpG8Zs/\r\ndl2Er4f0zuvV89IHEABQmsoktjol7tQhOVPvjCsB3ht6wVlVhp6+EQJbhlDf\r\ny7QfSuUPYXEjv0+p102fZwFYrCwzvqu//vT8AJtq56W70AsBZkWwqI/ZRw68\r\nF3jC2IPitnoaTcNggofc9ObFonly0WN45pd2MNCtVPrMfKnN4HaT4b1/OaLz\r\nF6jEOeAQHV9abPHIerzLURpbx32w/0nhZuYE36hUW3rEb+bKrKqL/CNEiLZ6\r\nD2lKL0DbPQuIfTG3V5J0zKh+QsptBlJKpq+GVVX0wgaZXYenvMsMozYimgy0\r\nmptjO6aZYlpTI0UKnOrr9A3jB3j9yGYg7bPUUPTtwib88ec/MVN6rvL9WBP4\r\nGtaPVVfmARj99zOgOWvreBgQWyMRG0qnOW1CudsX5co2t7i2/6k9i9NebpH/\r\nar0EtkT/WsNJtNe9rVCyaaBT3DcZ/fbSepI=\r\n=6/WU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"794aade3e96a820b3d4cc934afc3335e9a7087fb","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"9.1.2","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"16.17.0","dependencies":{"mysql2":"^2.0.0","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.24.1","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_4.1.0_1670235166369_0.2966522308703279","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@fastify/mysql","version":"4.2.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@4.2.0","maintainers":[{"name":"gurgunday","email":"gurgun.dayioglu@icloud.com"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"6c71584f005a249e7ac8813d88bd2be52ce16ae1","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-4.2.0.tgz","fileCount":16,"integrity":"sha512-DLWSN/9wou1IOO5228tTQqTWMLm09+grlryepSneB/+jIbWe2gmhCvlduKJdNcCiSRu3gsUSi4c6zz5W3GJiqQ==","signatures":[{"sig":"MEUCIQCifwccIl+ZPjrEOx0V1SYtG2LEgoMPR1VJGWR9OL56lQIgIpUdpE+4fCjOL5Zq+WKQMSu2AmNj3tc2SO2ik0z5oXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30418},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"e9a9e32848600d71f9739e688558384ce1d6cad5","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.1.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.8.0","dependencies":{"mysql2":"^3.3.1","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.29.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_4.2.0_1698828412056_0.1149504185588417","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"@fastify/mysql","version":"4.3.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@4.3.0","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"fe011271357c94aa05150a7fd0f6ecc8dc15db6e","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-4.3.0.tgz","fileCount":16,"integrity":"sha512-eVx5/PyMmoBWp3hTaqdvXiZdo8YnKsAx3k/8AEXgI/MjUbgcn8YrSdy8eHSpCL3YZtBhD/2vLpOXFFciyqlWjQ==","signatures":[{"sig":"MEUCIBCuMUxkaqM47hSVBvvzEpwf5yGmdUbrRWHsPY1/sXO5AiEAvU70O3lJ6DYbz68JT+ZYVjrUmrA1qRS9j4CIgttJirE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42325},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"c98803a640edd481992600c4104cd95bf9125f45","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"gurgunday","email":"hey@gurgun.day"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.2.4","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.11.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","@types/node":"^20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_4.3.0_1714349543998_0.9763480612006601","host":"s3://npm-registry-packages"}},"5.0.0-pre.fv5.1":{"name":"@fastify/mysql","version":"5.0.0-pre.fv5.1","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@5.0.0-pre.fv5.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"f1940375499ce99f1642f4627bce05adbdbf3321","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.0-pre.fv5.1.tgz","fileCount":16,"integrity":"sha512-T9NQhJBzpkr04cPJoMSThIdnGzFqXfUUHyJqifd2KUi+F2bOwxTVXek6jx3kwmbkptMdQj8WZzIJXrJ9ORhJ8A==","signatures":[{"sig":"MEUCIQDAHNGVKwZ5QrM/oJ06ZtSvEP0ed4qkK8+tLGRs4sI9fAIgHaNws/Jmo8VF+9H43sblWvYiO42SB4rI4aSqk3EDKQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42360},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"1ed0bae5ec79e4cb330179f07c2549bc68731d77","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.7.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.14.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^4.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^19.2.5","tsd":"^0.31.1","fastify":"^5.0.0-alpha.1","standard":"^17.1.0","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.0-pre.fv5.1_1718826062825_0.7413184205580248","host":"s3://npm-registry-packages"}},"5.0.0-pre.fv5.2":{"name":"@fastify/mysql","version":"5.0.0-pre.fv5.2","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@5.0.0-pre.fv5.2","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"d454f9bc3e0b38f9a44d677f44c8cd74ded04af5","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.0-pre.fv5.2.tgz","fileCount":16,"integrity":"sha512-i1KlkGnubKAnbvnHk8ZRfpmsmGKJ4usHQ2QVWhyzsPEJfmF+CnPUg3shwBBCHFzn9twEd2zAbaHTgQPTw/Zj6A==","signatures":[{"sig":"MEQCIBZAECeXckwpByU689gfaDYfrHgIGdhGCc71iPBUuPm0AiAsM/N6m0urYpdaJhJIs1ZiZo6dLnFzDL7EQywSDneYtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42436},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"10a2a8e34911d1982ad3556b03424c276e7ccdcf","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"gurgunday","email":"hey@gurgun.day"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.8.1","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.16.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^4.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^19.2.5","tsd":"^0.31.1","fastify":"^5.0.0-alpha.1","standard":"^17.1.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.0-pre.fv5.2_1722547670894_0.6470403569493473","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@fastify/mysql","version":"5.0.0","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@5.0.0","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"3a471985d806ebfa545f1286fff43598c228a8c4","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.0.tgz","fileCount":16,"integrity":"sha512-Mfb4x5KLbFmKQV0RwCtRaYvSj7LlrFN1WqHZYo7nJ8nULxt+aoH+VYi69SN6iJcOs/gGaGpSROaM/b0kEgPJTQ==","signatures":[{"sig":"MEYCIQCfNKPbc42rxKuu7HVgD9jCPMLotMHzWvoNQ4aVUxVbCQIhAKQTxqBHhVztAE6jKylqf0r2V843GnOTv5E1jlenbiBi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42426},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"a0266ac931c852e1dae8d83ae477740bcc91f642","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.8.1","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.16.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^19.2.5","tsd":"^0.31.1","fastify":"^5.0.0-alpha.4","standard":"^17.1.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.0_1725636412669_0.06719371315444178","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@fastify/mysql","version":"5.0.1","keywords":["fastify","mysql","database","connection","sql"],"license":"MIT","_id":"@fastify/mysql@5.0.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"b09f5e8ab2ef72351a36952ed89803937a9f7f49","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.1.tgz","fileCount":16,"integrity":"sha512-R03FBuxNV9NnQGSwCkA6cfnt9KTktTuhY5ixh0n1Vxy0gjgYuRtaWh/y9sjKeHP+CbJAX26QhaMcIgKL2n5k7w==","signatures":[{"sig":"MEYCIQDEGuV86j7i/jbsQYJkkk3TbnL2sWQFbCWKcC2f84e57wIhAOW1IVQ5zRNd/lmLZ9xNG9pcT/n9p+hbx2bHbYtnK9JL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42418},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"cb1b8eb45c516e86b68ac01ca3b5da899e8da214","scripts":{"lint":"standard","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.1.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"20.8.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^19.2.5","tsd":"^0.31.1","fastify":"^5.0.0","standard":"^17.1.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.1_1726909958896_0.4245897200748465","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"@fastify/mysql","version":"5.0.2","keywords":["fastify","mysql","database","connection","sql"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/mysql@5.0.2","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"url":"https://james.sumners.info","name":"James Sumners"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"b4818caa6c5ff2b9ed211cba6135fea848a6c82c","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.2.tgz","fileCount":16,"integrity":"sha512-YFIKgtEnLM84HELiKkgxw1Q65kUx4A/X+v2m09TdcDw9BkgRV78aaxiNCQbiZ+2dghlOrLCA9QhiUa8cerKGsg==","signatures":[{"sig":"MEUCIQCoBeBzMZ9QkCOiI7qbA+KAK8bDih3r0ZK5gNMORgkm1gIgaKgIGxRWGil+2+Lb/HdtogZD0rOa2slLRXwj4eQ36UU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45053},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"0fe3a740787b4e7364da6e725bf0471de1a3be7b","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:8.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","lint:fix":"eslint --fix","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"10.9.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"22.12.0","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.2","tsd":"^0.31.1","eslint":"^9.17.0","fastify":"^5.0.0","@types/node":"^22.0.0","neostandard":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.2_1736685812751_0.9902143400397607","host":"s3://npm-registry-packages-npm-production"}},"5.0.3":{"name":"@fastify/mysql","version":"5.0.3","keywords":["fastify","mysql","database","connection","sql"],"author":{"url":"https://delvedor.dev","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"@fastify/mysql@5.0.3","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"tony133","email":"a.tripodi133@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"url":"https://james.sumners.info","name":"James Sumners"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/fastify-mysql#readme","bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"dist":{"shasum":"e068c5b9ee4b234f9f6df491653b289c7fba6619","tarball":"https://registry.npmjs.org/@fastify/mysql/-/mysql-5.0.3.tgz","fileCount":16,"integrity":"sha512-+XubTGjBYO7zu12xg3qgMre3I/9Wytr5JXAqkw3JZEfZXjEsedUbFzSKe3I6qDJ7Gr18Gvf+87x1Z7DhIu5utw==","signatures":[{"sig":"MEUCIGs4NvRlksreg+ESstV6giew9S8ns9ouIR54RejQ4+kqAiEAzsOS/EfQHIr2Wz0iTs/oFi2qvrz4ltdQvJAi531TkeA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47446},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"9ca73c83fde4249487586ccb6ff5c8e673dd1939","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","mysql":"npm run mysql:9.0","mariadb":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1","lint:fix":"eslint --fix","mysql:5.5":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5","mysql:5.7":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7","mysql:8.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0","mysql:9.0":"docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:9.0","test:unit":"c8 --100 node --test","test:typescript":"tstyche"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"_npmVersion":"11.11.0","description":"Fastify Mysql connection plugin","directories":{},"_nodeVersion":"24.14.1","dependencies":{"mysql2":"^3.9.7","fastify-plugin":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","eslint":"^9.17.0","fastify":"^5.0.0","tstyche":"^7.0.0","@types/node":"^26.0.1","neostandard":"^0.13.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql_5.0.3_1786200750271_0.9231774531450294","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-04-27T14:01:14.319Z","modified":"2026-09-04T11:16:46.055Z","3.0.0":"2022-04-27T14:01:14.550Z","4.0.0":"2022-05-16T11:28:42.755Z","4.1.0":"2022-12-05T10:12:46.612Z","4.2.0":"2023-11-01T08:46:52.297Z","4.3.0":"2024-04-29T00:12:24.181Z","5.0.0-pre.fv5.1":"2024-06-19T19:41:03.041Z","5.0.0-pre.fv5.2":"2024-08-01T21:27:51.058Z","5.0.0":"2024-09-06T15:26:52.810Z","5.0.1":"2024-09-21T09:12:39.121Z","5.0.2":"2025-01-12T12:43:32.944Z","5.0.3":"2026-08-08T14:52:30.405Z"},"bugs":{"url":"https://github.com/fastify/fastify-mysql/issues"},"author":{"url":"https://delvedor.dev","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","homepage":"https://github.com/fastify/fastify-mysql#readme","keywords":["fastify","mysql","database","connection","sql"],"repository":{"url":"git+https://github.com/fastify/fastify-mysql.git","type":"git"},"description":"Fastify Mysql connection plugin","contributors":[{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"url":"https://james.sumners.info","name":"James Sumners"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"maintainers":[{"email":"hello@matteocollina.com","name":"matteo.collina"},{"email":"behemoth89@gmail.com","name":"eomm"},{"email":"iselwin@gmail.com","name":"kibertoad"},{"email":"kaka@kakawebsitedemo.com","name":"climba03003"},{"email":"hey@gurgun.day","name":"gurgunday"},{"email":"a.tripodi133@gmail.com","name":"tony133"},{"email":"me@metcoder.dev","name":"metcoder95"},{"email":"frazer.dev@icloud.com","name":"fdawgs"}],"readme":"# @fastify/mysql\n\n[![CI](https://github.com/fastify/fastify-mysql/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/fastify-mysql/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/@fastify/mysql.svg?style=flat)](https://www.npmjs.com/package/@fastify/mysql)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)\n\nFastify MySQL connection plugin; with this you can share the same MySQL connection pool in every part of your server.\nUnder the hood the [mysql2](https://github.com/sidorares/node-mysql2) is used. If you don't use the `connectionString` option, the options you pass to `register` will be passed to the MySQL pool builder.\n\n_Important:_ All MySQL2 options will be ignored when using `connectionString`, if you want to pass additional options to MySQL2 use `uri` instead of `connectionString`.\n\n## Install\n```\nnpm i @fastify/mysql\n```\n\n### Compatibility\n| Plugin version | Fastify version |\n| ---------------|-----------------|\n| `>=5.x`        | `^5.x`          |\n| `^4.x`         | `^4.x`          |\n| `>=2.x <4.x`   | `^3.x`          |\n| `>=0.x <2.x`   | `^2.x`          |\n| `>=0.x <2.x`   | `^1.x`          |\n\n\nPlease note that if a Fastify version is out of support, then so are the corresponding versions of this plugin\nin the table above.\nSee [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details.\n\n\n\n## Usage\nAdd it to you project with `register` and you are done!\nThis plugin will add the `mysql` namespace in your Fastify instance, with the following properties:\n```\npool: the pool instance\nquery: an utility to perform a query without a transaction\nexecute: an utility to perform a prepared statement without a transaction\ngetConnection: get a connection from the pool\nformat: an utility to generate SQL string\nescape: an utility to escape query values\nescapeId: an utility to escape query identifiers\n```\n\nExample:\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('@fastify/mysql'), {\n  connectionString: 'mysql://root@localhost/mysql'\n})\n\nfastify.get('/user/:id', (req, reply) => {\n  fastify.mysql.getConnection(onConnect)\n\n  function onConnect (err, client) {\n    if (err) return reply.send(err)\n\n    client.query(\n      'SELECT id, username, hash, salt FROM users WHERE id=?', [req.params.id],\n      function onResult (err, result) {\n        client.release()\n        reply.send(err || result)\n      }\n    )\n  }\n})\n\nfastify.listen({ port: 3000 }, err => {\n  if (err) throw err\n  console.log(`server listening on ${fastify.server.address().port}`)\n})\n```\n\nUse of `mysql.query`\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('@fastify/mysql'), {\n  connectionString: 'mysql://root@localhost/mysql'\n})\n\nfastify.get('/user/:id', (req, reply) => {\n  fastify.mysql.query(\n    'SELECT id, username, hash, salt FROM users WHERE id=?', [req.params.id],\n    function onResult (err, result) {\n      reply.send(err || result)\n    }\n  )\n})\n\nfastify.listen({ port: 3000 }, err => {\n  if (err) throw err\n  console.log(`server listening on ${fastify.server.address().port}`)\n})\n```\nAs you can see there is no need to close the client, since it is done internally.\n\n### Pool options\n\nBy default, this plugin creates a [`mysql2` pool](https://sidorares.github.io/node-mysql2/docs#using-connection-pools). If you do not pass `connectionString`, every MySQL option registered with the plugin is forwarded to `mysql2.createPool()`:\n\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('@fastify/mysql'), {\n  host: 'localhost',\n  user: 'root',\n  database: 'mysql',\n  waitForConnections: true,\n  connectionLimit: 10,\n  queueLimit: 0\n})\n\nfastify.get('/users', (req, reply) => {\n  fastify.mysql.query(\n    'SELECT id, username FROM users',\n    function onResult (err, result) {\n      reply.send(err || result)\n    }\n  )\n})\n```\n\n> **Important**: all `mysql2` pool options are ignored when using `connectionString`. If you need extra options together with a connection string, use `uri` instead of `connectionString`.\n\nThe same pool options can be used with `promise: true`; in that case the pool is created with `mysql2/promise`:\n\n```js\nfastify.register(require('@fastify/mysql'), {\n  promise: true,\n  host: 'localhost',\n  user: 'root',\n  database: 'mysql',\n  waitForConnections: true,\n  connectionLimit: 10,\n  queueLimit: 0\n})\n```\n\nAsync/await is supported, when register `promise` option is `true`:\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('@fastify/mysql'), {\n  promise: true,\n  connectionString: 'mysql://root@localhost/mysql'\n})\n\nfastify.get('/user/:id', async (req, reply) => {\n  const connection = await fastify.mysql.getConnection()\n  const [rows, fields] = await connection.query(\n    'SELECT id, username, hash, salt FROM users WHERE id=?', [req.params.id],\n  )\n  connection.release()\n  return rows[0]\n})\n\nfastify.listen({ port: 3000 }, err => {\n  if (err) throw err\n  console.log(`server listening on ${fastify.server.address().port}`)\n})\n```\n\n## TypeScript\nAs `mysql2` expose four different type of client, we do not specify the typing for you. You need to specify the type yourself following the example below.\n```ts\nimport { MySQLConnection, MySQLPool, MySQLPromiseConnection, MySQLPromisePool } from '@fastify/mysql'\n\n// if you only pass connectionString\ndeclare module 'fastify' {\n  interface FastifyInstance {\n    mysql: MySQLPool\n  }\n}\n\n// if you passed type = 'connection'\ndeclare module 'fastify' {\n  interface FastifyInstance {\n    mysql: MySQLConnection\n  }\n}\n\n// if you passed promise = true\ndeclare module 'fastify' {\n  interface FastifyInstance {\n    mysql: MySQLPromisePool\n  }\n}\n\n// if you passed promise = true, type = 'connection'\ndeclare module 'fastify' {\n  interface FastifyInstance {\n    mysql: MySQLPromiseConnection\n  }\n}\n```\n\n#### MySQLRowDataPacket\nAbility to add type for return data using mysql2 [RowDataPacket](https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples#rowdatapacket).\n\n```js\nconst fastifyMysql, { MySQLRowDataPacket } from '@fastify/mysql'\n\nconst app = fastify();\n\napp.register(fastifyMysql, {\n  connectionString: \"mysql://root@localhost/mysql\",\n});\n\napp.get(\"/\", async () => {\n  const connection = app.mysql;\n\n  // SELECT\n  const [rows, fields] = await connection.query<MySQLRowDataPacket[]>(\n    \"SELECT 1 + 1 AS `test`;\",\n  );\n\n  /**\n   * @rows: [ { test: 2 } ]\n   */\n  return rows[0];\n});\n```\n\n#### MySQLResultSetHeader\nAbility to add type for return data using mysql2 [ResultSetHeader](https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples#resultsetheader).\n\n```js\nconst fastifyMysql, { MySQLResultSetHeader } from '@fastify/mysql'\n\nconst app = fastify();\n\napp.register(fastifyMysql, {\n  connectionString: \"mysql://root@localhost/mysql\",\n});\n\napp.get(\"/\", async () => {\n  const connection = app.mysql;\n  const result = await connection.query<MySQLResultSetHeader>(\"SET @1 = 1\");\n\n  /**\n   * @result: ResultSetHeader {\n      fieldCount: 0,\n      affectedRows: 0,\n      insertId: 0,\n      info: '',\n      serverStatus: 2,\n      warningStatus: 0,\n      changedRows: 0\n    }\n   */\n  return result\n});\n```\n\n##### isMySQLPool\nMethod to check if fastify decorator, mysql is type of [MySQLPool](https://github.com/fastify/fastify-mysql/blob/main/types/index.d.ts#L32)\n\n```typescript\nconst app = fastify();\napp\n  .register(fastifyMysql, {\n    connectionString: \"mysql://root@localhost/mysql\",\n  })\n  .after(function (err) {\n    if (isMySQLPool(app.mysql)) {\n      const mysql = app.mysql\n      mysql.getConnection(function (err, con) {\n        con.release();\n      });\n      mysql.pool.end();\n    }\n  })\n```\n\n\n##### isMySQLPromisePool\nMethod to check if fastify decorator, mysql is type of [MySQLPromisePool](https://github.com/fastify/fastify-mysql/blob/main/types/index.d.ts#L43)\n\n```typescript\napp\n  .register(fastifyMysql, {\n    promise: true,\n    connectionString: \"mysql://root@localhost/mysql\",\n  })\n  .after(async function (err) {\n    if (isMySQLPromisePool(app.mysql)) {\n      const mysql = app.mysql\n      const con = await mysql.getConnection();\n      con.release();\n      mysql.pool.end();\n    }\n  });\n```\n\n\n##### isMySQLConnection\nMethod to check if fastify decorator, mysql is type of [MySQLConnection](https://github.com/fastify/fastify-mysql/blob/main/types/index.d.ts#L28)\n\n```typescript\napp\n  .register(fastifyMysql, {\n    type: \"connection\",\n    connectionString: \"mysql://root@localhost/mysql\",\n  })\n  .after(async function (err) {\n    if (isMySQLConnection(app.mysql)) {\n      const mysql = app.mysql\n      mysql.connection.end();\n    }\n  });\n```\n\n\n##### isMySQLPromiseConnection\nMethod to check if fastify decorator, mysql is type of [MySQLPromiseConnection](https://github.com/fastify/fastify-mysql/blob/main/types/index.d.ts#L36)\n\n```typescript\napp\n  .register(fastifyMysql, {\n    type: \"connection\",\n    promise: true,\n    connectionString: \"mysql://root@localhost/mysql\",\n  })\n  .after(async function (err) {\n    if (isMySQLPromiseConnection(app.mysql)) {\n      const mysql = app.mysql\n      mysql.connection.end();\n    }\n  });\n```\n\n## Acknowledgments\n\nThis project is kindly sponsored by:\n- [nearForm](https://nearform.com)\n\nPast sponsors:\n- LetzDoIt\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","readmeFilename":"README.md"}