{"_id":"@0q/embedded-mongodb","_rev":"2-5d53ab9701d69b2a2a4f2b6ac35d1601","name":"@0q/embedded-mongodb","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@0q/embedded-mongodb","version":"0.1.0","license":"SSPL-1.0","_id":"@0q/embedded-mongodb@0.1.0","maintainers":[{"name":"0q","email":"npmjs.2itdt@0q.is"}],"homepage":"https://github.com/jeroenvervaeke/embedded-mongo#readme","bugs":{"url":"https://github.com/jeroenvervaeke/embedded-mongo/issues"},"dist":{"shasum":"0e570daedb3474a69dcd7176d7807569dc0b2643","tarball":"https://registry.npmjs.org/@0q/embedded-mongodb/-/embedded-mongodb-0.1.0.tgz","fileCount":6,"integrity":"sha512-X8SOOvTNLczkdehfbxoRJ0UU3ClkwGgt5y+syvz5lwwv6FtM2BrIzajzBre2I2oJhyrV/bwVC6B/PlV4ThbDDQ==","signatures":[{"sig":"MEUCIQDI9HCMD7xo+XWMPFUH53T/3zZrFJPmfo3TRiQYryVBtwIgIwgkPOCbWdbkkqRX84dgs1s5nP4+y/CpNcD5WX3VQE4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43358},"main":"index.js","napi":{"targets":["x86_64-unknown-linux-gnu","aarch64-unknown-linux-gnu","aarch64-apple-darwin"],"binaryName":"embedded-mongodb"},"types":"index.d.ts","engines":{"node":">= 20"},"gitHead":"611d4b952203bae7a71e3acc693cf6198eccf7be","scripts":{"test":"node --test test/*.test.js","build":"napi build --platform --release --js native.js --dts native.d.ts && node scripts/bundle-engine.js"},"_npmUser":{"name":"0q","email":"npmjs.2itdt@0q.is"},"repository":{"url":"git+https://github.com/jeroenvervaeke/embedded-mongo.git","type":"git","directory":"embedded-mongodb-node"},"_npmVersion":"12.0.2","description":"Run the MongoDB Node.js driver against an in-process embedded MongoDB engine","directories":{},"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mongodb":"^7.5.0","@napi-rs/cli":"^3.9.0"},"peerDependencies":{"mongodb":">=6"},"optionalDependencies":{"@0q/embedded-mongodb-darwin-arm64":"0.1.0","@0q/embedded-mongodb-linux-x64-gnu":"0.1.0","@0q/embedded-mongodb-linux-arm64-gnu":"0.1.0"},"peerDependenciesMeta":{"mongodb":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/embedded-mongodb_0.1.0_1788867715336_0.39914289315421114","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"_id":"@0q/embedded-mongodb@0.1.1","bugs":{"url":"https://github.com/jeroenvervaeke/embedded-mongo/issues"},"dist":{"shasum":"f0ffdaa74af192c21f0ced582f4efbce4bfd341e","tarball":"https://registry.npmjs.org/@0q/embedded-mongodb/-/embedded-mongodb-0.1.1.tgz","fileCount":6,"integrity":"sha512-qLbGQPC/yqyrPiOVBz97I0lkAWLQoim3Cr9NVMqDHVLD2DIzPyt2iEoOvvKAxXaYj52CaJv4T07SODMutrFy3A==","signatures":[{"sig":"MEUCIQCK+QBdrrPW3EuEOVUPpyNoGfsNzLDDwmOtZb6qFxUGrQIgeWQlRmdrzD03vSmOF+I7AwA8dTqL5W7IgaIIbZOsmxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC6QMRfYIMISOeH1NQDKHuPE8e++QP+raqiC3KO3xWOpAIgPzFsZIvxCXG3czo+Cf4hdbE0jyzYSjD+uwZYXhtqaxA="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0q%2fembedded-mongodb@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43358},"main":"index.js","name":"@0q/embedded-mongodb","napi":{"targets":["x86_64-unknown-linux-gnu","aarch64-unknown-linux-gnu","aarch64-apple-darwin"],"binaryName":"embedded-mongodb"},"types":"index.d.ts","engines":{"node":">= 20"},"gitHead":"e2890298c28551337652603c1f8767607bf22fc1","license":"SSPL-1.0","scripts":{"test":"node --test test/*.test.js","build":"napi build --platform --release --js native.js --dts native.d.ts && node scripts/bundle-engine.js"},"version":"0.1.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ce26dea-c0e0-4124-bdb3-90f90ae85fc5"}},"homepage":"https://github.com/jeroenvervaeke/embedded-mongo#readme","repository":{"url":"git+https://github.com/jeroenvervaeke/embedded-mongo.git","type":"git","directory":"embedded-mongodb-node"},"_npmVersion":"11.19.1","description":"Run the MongoDB Node.js driver against an in-process embedded MongoDB engine","directories":{},"maintainers":[{"name":"0q","email":"npmjs.2itdt@0q.is"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mongodb":"^7.5.0","@napi-rs/cli":"^3.9.0"},"peerDependencies":{"mongodb":">=6"},"optionalDependencies":{"@0q/embedded-mongodb-darwin-arm64":"0.1.1","@0q/embedded-mongodb-linux-x64-gnu":"0.1.1","@0q/embedded-mongodb-linux-arm64-gnu":"0.1.1"},"peerDependenciesMeta":{"mongodb":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/embedded-mongodb_0.1.1_1788882627011_0.12017786382991114"}}},"time":{"created":"2026-09-08T11:41:55.208Z","modified":"2026-09-08T15:50:27.446Z","0.1.0":"2026-09-08T11:41:55.464Z","0.1.1":"2026-09-08T15:50:27.090Z"},"bugs":{"url":"https://github.com/jeroenvervaeke/embedded-mongo/issues"},"license":"SSPL-1.0","homepage":"https://github.com/jeroenvervaeke/embedded-mongo#readme","repository":{"url":"git+https://github.com/jeroenvervaeke/embedded-mongo.git","type":"git","directory":"embedded-mongodb-node"},"description":"Run the MongoDB Node.js driver against an in-process embedded MongoDB engine","maintainers":[{"name":"0q","email":"npmjs.2itdt@0q.is"}],"readme":"# @0q/embedded-mongodb\n\nThe MongoDB Node.js driver over an embedded MongoDB engine: the real server code, running\ninside your process against a local directory. No server, no port.\n\n```js\nconst { MongoClient } = require('@0q/embedded-mongodb');\n\nconst client = new MongoClient('mongodb_embedded://./data');\nconst items = client.db('app').collection('items');\nawait items.insertOne({ name: 'embedded' });\nconsole.log(await items.findOne());\nawait client.close();\n```\n\n`MongoClient` is the driver's own class with one addition: a `mongodb_embedded://<directory>`\n(or `mongodb+embedded://`) address opens the directory in-process instead of connecting to a\nserver. Any other address is handed to the driver untouched. The `mongodb` package is a peer\ndependency for this class; the lower layer needs nothing:\n\n```js\nconst { open } = require('@0q/embedded-mongodb');\n\nconst embedded = await open('./data');\n// embedded.uri is a mongodb:// address any driver in this process can connect to.\nawait embedded.close();\n```\n\nOnly one engine may be open per process. Linux x64, Linux arm64 and macOS arm64 are the\nsupported platforms. Authentication, TLS, compression, sessions, transactions and change\nstreams are not supported.\n\nPart of [embedded-mongo](https://github.com/jeroenvervaeke/embedded-mongo), which has the full\ndocumentation, the Python binding and the engine itself. Licensed under the SSPL-1.0, as\nMongoDB is.\n","readmeFilename":"README.md"}