connect2mongodb
Version:
Dynamically Connect to MongoDB databse & close connection.
60 lines • 1.78 kB
JSON
{
"name": "connect2mongodb",
"version": "1.1.68",
"description": "Dynamically Connect to MongoDB databse & close connection.",
"main": "lib/index.js",
"type": "module",
"types": "lib/index.d.ts",
"scripts": {
"clean-lib": "rimraf lib/",
"clean-node-modules": "rimraf package-lock.json && rimraf node_modules/",
"lint": "npx eslint .",
"build": "npm run clean-lib && npm rum lint && tsc",
"test": "npm run build && cd ./test && npm link connect2mongodb && node ./index.js",
"finalTest": "npm run update && npm run clean-node-modules && npm i && npm run build && npm link connect2mongodb && cd ./test && node index.js && npm unlink connect2mongodb",
"publish": "npm publish",
"publish-beta": "npm publish --beta",
"update": "npx npm-check-updates -u",
"commit": "git add . && git commit -m \"Updated to mongoose 8.14.2\" && git push origin main"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Capta1nRaj/connect2mongodb.git"
},
"keywords": [
"express",
"mongodb",
"mognoose",
"mongo",
"dotenv",
"database",
"db",
"official",
"collection",
"manage-mongo",
"connect",
"web-based",
"front-end",
"backend",
"function"
],
"author": "Priyal \"Capta1n\" Raj",
"license": "ISC",
"bugs": {
"url": "https://github.com/Capta1nRaj/connect2mongodb/issues"
},
"homepage": "https://github.com/Capta1nRaj/connect2mongodb#readme",
"dependencies": {
"dotenv": "^16.5.0",
"express": "^5.1.0",
"mongoose": "^8.14.2"
},
"devDependencies": {
"@types/node": "^22.15.17",
"rimraf": "^6.0.1",
"typescript": "^5.8.3"
},
"files": [
"lib/**/*"
]
}