UNPKG

@notross/mongo-singleton

Version:

A lightweight, zero-fuss way to get a single shared MongoDB connection across your Node.js codebase.

47 lines 1.01 kB
{ "name": "@notross/mongo-singleton", "version": "0.0.5", "main": "./cjs/index.js", "module": "./esm/index.js", "types": "./cjs/index.d.ts", "keywords": [ "mongodb", "mongo", "database", "db", "singleton", "connection", "shared-connection", "connection-pool", "nodejs", "node", "typescript", "ts", "client", "wrapper", "utility", "reusable" ], "description": "A lightweight, zero-fuss way to get a single shared MongoDB connection across your Node.js codebase.", "license": "MIT", "author": { "name": "Ross Libby", "email": "dev@rosslibby.com", "url": "https://rosslibby.com", "github": "https://github.com/rosslibby" }, "repository": { "type": "git", "url": "git+https://github.com/rosslibby/mongo-singleton.git" }, "dependencies": { "mongodb": "^6.12.0" }, "type": "module", "exports": { ".": { "import": "./esm/index.js", "require": "./cjs/index.js" } } }