{"name":"mongodb","version":"6.19.0","keywords":["mongodb","driver","official"],"author":{"name":"The MongoDB NodeJS Team","email":"dbx-node@mongodb.com"},"license":"Apache-2.0","_id":"mongodb@6.19.0","maintainers":[{"name":"durran","email":"durran@gmail.com"},{"name":"pearsb1","email":"bailey.pearson@gmail.com"},{"name":"nbbeeken","email":"neal.beeken@mongodb.com"},{"name":"dariakp","email":"daria.pardue@mongodb.com"},{"name":"dbx-node","email":"dbx-node@mongodb.com"}],"homepage":"https://github.com/mongodb/node-mongodb-native","bugs":{"url":"https://jira.mongodb.org/projects/NODE/issues/"},"tsd":{"directory":"test/types","compilerOptions":{"module":"commonjs","strict":true,"target":"esnext","moduleResolution":"node"}},"dist":{"shasum":"d28df0ae4cb3bea4381206e2d9efc3c7b77531fe","tarball":"http://registry-npm.ywwl.com/mongodb/download/mongodb-6.19.0.tgz","fileCount":400,"integrity":"sha512-H3GtYujOJdeKIMLKBT9PwlDhGrQfplABNF1G904w6r5ZXKWyv77aB0X9B+rhmaAwjtllHzaEkvi9mkGVZxs2Bw==","signatures":[{"sig":"MEUCIQD89qAiOx/NqdNJO1KqccyZX3KyFrvlEJi4Nsfhmu89awIgMhlfFBA40SbNfPns+VFnn01QsfrYeQX8o5RBDVMGxIs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mongodb@6.19.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3819126,"size":830896,"noattachment":false,"key":"/mongodb/-/mongodb-6.19.0.tgz"},"main":"lib/index.js","types":"mongodb.d.ts","engines":{"node":">=16.20.1"},"gitHead":"56b70f8d6839cbc8a66584e49b71a3a71ac6b459","scripts":{"test":"npm run check:lint && npm run test:all","prepare":"node etc/prepare.js","build:ts":"node ./node_modules/typescript/bin/tsc","check:ts":"node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit","test:all":"npm run check:unit && npm run check:test","build:dts":"npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs && ESLINT_USE_FLAT_CONFIG=false eslint --no-ignore --fix mongodb.d.ts lib/beta.d.ts","check:adl":"nyc mocha --config test/mocha_mongodb.js test/manual/atlas-data-lake-testing","check:aws":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts","check:dts":"node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd","check:tls":"nyc mocha --config test/manual/mocharc.js test/manual/tls_support.test.ts","check:tsd":"tsd --version && tsd","build:docs":"./etc/docs/build.ts","check:ldap":"nyc mocha --config test/manual/mocharc.js test/manual/ldap.test.ts","check:lint":"npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd","check:test":"mocha --config test/mocha_mongodb.js test/integration","check:unit":"nyc mocha test/unit","check:x509":"nyc mocha test/manual/x509_auth.test.ts","fix:eslint":"npm run check:eslint -- --fix","check:atlas":"nyc mocha --config test/manual/mocharc.js test/manual/atlas_connectivity.test.ts","check:bench":"npm --prefix test/benchmarks/driver_bench start","check:csfle":"nyc mocha --config test/mocha_mongodb.js test/integration/client-side-encryption","update:docs":"npm run build:docs -- --yes","check:eslint":"npm run build:dts && ESLINT_USE_FLAT_CONFIG=false eslint -v && ESLINT_USE_FLAT_CONFIG=false eslint --max-warnings=0 --ext '.js,.ts' src test","check:lambda":"nyc mocha --config test/mocha_lambda.js test/integration/node-specific/examples/handler.test.js","check:snappy":"nyc mocha test/unit/assorted/snappy.test.js","check:socks5":"nyc mocha --config test/manual/mocharc.js test/manual/socks5.test.ts","preview:docs":"ts-node etc/docs/preview.ts","build:nightly":"node ./.github/scripts/nightly.mjs","build:typedoc":"typedoc","check:coverage":"nyc npm run test:all","check:kerberos":"nyc mocha --config test/manual/mocharc.js test/manual/kerberos.test.ts","check:oidc-gcp":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_gcp.prose.06.test.ts","check:oidc-k8s":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_k8s.prose.07.test.ts","build:evergreen":"node .evergreen/generate_evergreen_tasks.js","check:oidc-auth":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts","check:oidc-test":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts","check:lambda:aws":"nyc mocha --config test/mocha_lambda.js test/integration/node-specific/examples/aws_handler.test.js","check:oidc-azure":"nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_azure.prose.05.test.ts","check:dependencies":"mocha test/action/dependency.test.ts","check:search-indexes":"nyc mocha --config test/mocha_mongodb.js test/manual/search-index-management.prose.test.ts","check:resource-management":"nyc mocha --config test/manual/mocharc.js test/manual/resource_management.test.ts","check:integration-coverage":"nyc npm run check:test","check:drivers-atlas-testing":"nyc mocha --config test/mocha_mongodb.js test/atlas/drivers_atlas_testing.test.ts"},"_npmUser":{"name":"dbx-node","email":"dbx-node@mongodb.com"},"repository":{"url":"git+ssh://git@github.com/mongodb/node-mongodb-native.git","type":"git"},"_npmVersion":"11.5.2","description":"The official MongoDB driver for Node.js","directories":{},"_nodeVersion":"22.18.0","dependencies":{"bson":"^6.10.4","@mongodb-js/saslprep":"^1.1.9","mongodb-connection-string-url":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","tsd":"^0.33.0","chai":"^4.4.1","chalk":"^4.1.2","mocha":"^11.7.1","sinon":"^18.0.1","socks":"^2.8.7","yargs":"^17.7.2","eslint":"^9.33.0","semver":"^7.7.2","snappy":"^7.3.2","express":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","prettier":"^3.6.2","sinon-chai":"^3.7.0","typescript":"5.8.3","@iarna/toml":"^2.2.5","@types/chai":"^4.3.17","@types/node":"^22.15.3","chai-subset":"^1.6.0","mocha-sinon":"^2.1.2","@types/mocha":"^10.0.9","@types/sinon":"^17.0.4","gcp-metadata":"^5.3.0","@types/semver":"^7.7.0","@types/express":"^5.0.3","mongodb-legacy":"^6.1.3","@types/kerberos":"^1.1.5","@types/saslprep":"^1.0.3","v8-heapsnapshot":"^1.3.1","@mongodb-js/zstd":"^2.0.1","@types/sinon-chai":"^4.0.0","@types/whatwg-url":"^13.0.0","@types/chai-subset":"^1.3.5","source-map-support":"^0.5.21","eslint-plugin-mocha":"^10.4.1","eslint-plugin-tsdoc":"^0.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@microsoft/tsdoc-config":"^0.17.1","@microsoft/api-extractor":"^7.52.10","@typescript-eslint/parser":"^8.31.1","mongodb-client-encryption":"^6.5.0","typescript-cached-transpile":"^0.0.6","eslint-plugin-unused-imports":"^4.2.0","@aws-sdk/credential-providers":"^3.864.0","@typescript-eslint/eslint-plugin":"^8.40.0","eslint-plugin-simple-import-sort":"^12.1.1","@istanbuljs/nyc-config-typescript":"^1.0.2"},"peerDependencies":{"socks":"^2.7.1","snappy":"^7.3.2","kerberos":"^2.0.1","gcp-metadata":"^5.2.0","@mongodb-js/zstd":"^1.1.0 || ^2.0.0","mongodb-client-encryption":">=6.0.0 <7","@aws-sdk/credential-providers":"^3.188.0"},"peerDependenciesMeta":{"socks":{"optional":true},"snappy":{"optional":true},"kerberos":{"optional":true},"gcp-metadata":{"optional":true},"@mongodb-js/zstd":{"optional":true},"mongodb-client-encryption":{"optional":true},"@aws-sdk/credential-providers":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mongodb_6.19.0_1756242844150_0.8226983434896915","host":"s3://npm-registry-packages-npm-production"},"readme":"","publish_time":1756242844431,"_cnpm_publish_time":1756242844431,"dist-tags":{"4x":"4.17.2","5x":"5.9.2","6x":"6.22.0","latest":"7.9.0","nightly":"7.9.0-dev.20261119.sha.37e6a04c"}}