UNPKG

@fastify/mysql

Version:
82 lines (81 loc) 2.14 kB
{ "name": "@fastify/mysql", "version": "5.0.2", "description": "Fastify Mysql connection plugin", "main": "index.js", "type": "commonjs", "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", "mariadb": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mariadb:10.1", "mysql": "npm run mysql:8.0", "mysql:5.7": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.7", "mysql:5.5": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:5.5", "mysql:8.0": "docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --rm mysql:8.0", "test": "npm run test:unit && npm run test:typescript", "test:unit": "c8 --100 node --test", "test:typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-mysql.git" }, "keywords": [ "fastify", "mysql", "database", "connection", "sql" ], "author": "Tomas Della Vedova - @delvedor (http://delved.org)", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" }, { "name": "Manuel Spigolon", "email": "behemoth89@gmail.com" }, { "name": "James Sumners", "url": "https://james.sumners.info" }, { "name": "Frazer Smith", "email": "frazer.dev@icloud.com", "url": "https://github.com/fdawgs" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify-mysql/issues" }, "homepage": "https://github.com/fastify/fastify-mysql#readme", "funding": [ { "type": "github", "url": "https://github.com/sponsors/fastify" }, { "type": "opencollective", "url": "https://opencollective.com/fastify" } ], "dependencies": { "fastify-plugin": "^5.0.0", "mysql2": "^3.9.7" }, "devDependencies": { "@types/node": "^22.0.0", "c8": "^10.1.2", "eslint": "^9.17.0", "fastify": "^5.0.0", "neostandard": "^0.12.0", "tsd": "^0.31.1" }, "publishConfig": { "access": "public" } }