diff --git a/README.md b/README.md index eff347e..b520070 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you do not provide the client by yourself (see below), the URL option is *req ## Install ``` -npm i @fastify/mongodb +npm i @fastify/mongodb mongodb ``` ## Usage diff --git a/package.json b/package.json index da60730..0ad7b5c 100644 --- a/package.json +++ b/package.json @@ -35,13 +35,16 @@ "@fastify/pre-commit": "^2.1.0", "@types/node": "^22.0.0", "fastify": "^5.0.0-alpha.4", + "mongodb": "^6.5.0", "standard": "^17.1.0", "tap": "^18.7.1", "tsd": "^0.31.0" }, "dependencies": { - "fastify-plugin": "^5.0.0", - "mongodb": "^6.5.0" + "fastify-plugin": "^5.0.0" + }, + "peerDependencies": { + "mongodb": "^6" }, "publishConfig": { "access": "public"