{"_id":"@keyv/mongo","_rev":"35-26e52f0c918339c1d7a4791335b89fd7","name":"@keyv/mongo","dist-tags":{"next":"3.0.0-rc.1","latest":"6.1.0","alpha":"6.0.0-alpha.3","beta":"6.0.0-beta.4","rc":"6.0.0-rc.1"},"versions":{"1.0.3":{"name":"@keyv/mongo","version":"1.0.3","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"http://lukechilds.co.uk","name":"Luke Childs","email":"lukechilds123@gmail.com"},"license":"MIT","_id":"@keyv/mongo@1.0.3","maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/lukechilds/keyv-mongo","bugs":{"url":"https://github.com/lukechilds/keyv-mongo/issues"},"xo":{"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"3d110c4a9ee24781fdf3e99c53957e50530c901d","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.0.3.tgz","integrity":"sha512-GKTRTv/WQsaMDXJD9Mdvw8M7yjp+HtxQECuyAmWBlCMHZ1umnwzD6xgW7T+UInJVSIGkSRYhnejri5nkwgPuFg==","signatures":[{"sig":"MEUCIQD5R0IXREZO/WsSxBA4AxmwF0IohqS32O2F4C6ga2JuhQIgahK4Fx7CuMeWkxaM70aAFR4/mIEKXW1x22A63c7g8qs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"3d110c4a9ee24781fdf3e99c53957e50530c901d","gitHead":"06d0626b09664d66eff356ef7163103dc6fee328","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"repository":{"url":"git+https://github.com/lukechilds/keyv-mongo.git","type":"git"},"_npmVersion":"4.6.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"8.1.2","dependencies":{"pify":"3.0.0","mongojs":"2.4.1"},"devDependencies":{"xo":"^0.19.0","ava":"^0.21.0","nyc":"^11.0.3","keyv":"*","this":"^1.0.2","coveralls":"^2.13.1","requirable":"^1.0.1","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-1.0.3.tgz_1502460326686_0.63700304296799","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@keyv/mongo","version":"1.0.4","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"http://lukechilds.co.uk","name":"Luke Childs","email":"lukechilds123@gmail.com"},"license":"MIT","_id":"@keyv/mongo@1.0.4","maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/lukechilds/keyv-mongo","bugs":{"url":"https://github.com/lukechilds/keyv-mongo/issues"},"xo":{"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"8cc5ae9f673716eac446dc8fb24c53c35208527b","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.0.4.tgz","integrity":"sha512-TfAcA07oMRhGzYu9ieXfC7pjdJwd6uPAXKEx5weMYV8YxCvHQ0r1gc/c4l6JpQLkr5RRBRksvwJBa+wVRj8QtA==","signatures":[{"sig":"MEUCIQC2kfNrcvMGUz8cj81sZ5l5cp5hiQohdyPlz0JqHHg+7gIgJ+mzBhIfE3K5iiagu3f1ljt55SFIDyIE1aUOhy7Q9RY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"8cc5ae9f673716eac446dc8fb24c53c35208527b","gitHead":"87fbefad1c72e61c125f3c38cc0f4a1763cf1215","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"repository":{"url":"git+https://github.com/lukechilds/keyv-mongo.git","type":"git"},"_npmVersion":"4.6.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"8.4.0","dependencies":{"pify":"3.0.0","mongojs":"2.4.1"},"devDependencies":{"xo":"^0.19.0","ava":"^0.22.0","nyc":"^11.0.3","keyv":"*","this":"^1.0.2","coveralls":"^2.13.1","requirable":"^1.0.1","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-1.0.4.tgz_1504628026428_0.39329778985120356","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@keyv/mongo","version":"1.1.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"http://lukechilds.co.uk","name":"Luke Childs","email":"lukechilds123@gmail.com"},"license":"MIT","_id":"@keyv/mongo@1.1.0","maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/lukechilds/keyv-mongo","bugs":{"url":"https://github.com/lukechilds/keyv-mongo/issues"},"xo":{"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"e9beed3760dadb266b7444902a54d1e51fd79f14","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.1.0.tgz","fileCount":6,"integrity":"sha512-SoILHI5E4TEZOE52UatgkpYBLxkSInvfVD0VMtgdsGFiotDckgV3d+QEHc+0arLhZV8gvUWrXxXQsKhZbEBnSg==","signatures":[{"sig":"MEQCIHgkQbQQmh65f4qaFiiFpBm/+nJyyi+0qBqN0iS8Gb7FAiAqJMyVVKR2ubBwBPLTv2SVH2apmoM3haX0AxkW2taleg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNZZSCRA9TVsSAnZWagAAEU0P/1uggab9CvtOgGEBr+NH\n90Jb/k355V5IopB5YNCSbHbyY6hal9PzkibiqFDF6sND/FomtiaVjKMni6/w\nk1rdr7v8PnKH17HlywOn5B+jRO3BgAkqtNfCqhXUpWn+Qdd042ytf9N80Uvi\n9HTM4feI/xfVGUa+LBx3HjpqFbmEL7xac/eMkk7JfZRsuPe/ZQqYzXJusEqj\ncZnVJZmiFCz2yZT9DGJ/cQ4bKDSQIvXMzG55pDib/AUDcdeLrI0BKZ9COUGv\nIq/PRS2qjguaY3vmlak1PkbO7l0VYXzsq2oHM5/Yqftd0pWVBCPSz2scPlQH\nXmKCMNrXng36jZuFSuqN1Pf46OY2CqCUoUkdq88U8xZ28ZndXUocdrsZSJTw\nnETKZ+K3gEhTjXCJNILZ8WQIh4jDu/CsCdEE7SGldbYpqc+BOv4XQ2NODY/g\n5E70iO/oDwM13udU9KZp6kJIfOM0k8ntlM2rcMz9SmYDQD08YjwNASNw++S6\numJr8rFuMoOH5aQ5Jc/hJZBscHLo7PWAPKC26bT6nVbGgz0l7zXOi1sd39ZU\nxMLgHeb2Zg7SrTQ4fwj26wyR0wrSCYJEeD9fqbWYxSnu2kBbbF5K1IHa7+QG\neGzV6olcAfG/e3bu9jlXRnZKO9+f2sQrIPMV+XdyYfCEgws6WYzlZzVUis7r\nzbuG\r\n=0j4B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"59b30057986d1aeddf6a0b13b557a2e402e1db8d","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"repository":{"url":"git+https://github.com/lukechilds/keyv-mongo.git","type":"git"},"_npmVersion":"6.4.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"8.12.0","dependencies":{"pify":"3.0.0","mongojs":"2.5.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.20.1","ava":"^0.25.0","nyc":"^11.0.3","keyv":"*","this":"^1.0.2","dotenv":"^6.2.0","coveralls":"^3.0.0","requirable":"^1.0.1","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo_1.1.0_1547015761803_0.9229839546230778","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@keyv/mongo","version":"1.2.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@1.2.0","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv-mongo","bugs":{"url":"https://github.com/jaredwray/keyv-mongo/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"3b28f7138de6e3353167b3e157768de7cb60b5af","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.2.0.tgz","fileCount":11,"integrity":"sha512-RHri9w3d3UePFSjv34z6prlDJNVKPZlAhN6OKJx9MWNbpW34FHz4QyCE9c8Nqq4Qmtl5YazJQyPsZbm7eSVcsQ==","signatures":[{"sig":"MEUCIQD9JIWQ3sLDLe8gOCrQRZY0R+LDRiQaBmxd98+04mEEOgIgXii9mjvxVMhc2rAHnAz+vVDGEjBgeihkMEinXo27k8Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7260},"main":"src/index.js","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/lukechilds/keyv-mongo.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017-2021 Jared Wray & Luke Childs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pify":"^5.0.0","mongojs":"^3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.45.0","ava":"^0.25.0","nyc":"^15.1.0","keyv":"*","this":"^1.0.2","coveralls":"^3.0.0","requirable":"^1.0.1","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo_1.2.0_1634787573710_0.7696560694816066","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@keyv/mongo","version":"1.2.1","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@1.2.1","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv-mongo","bugs":{"url":"https://github.com/jaredwray/keyv-mongo/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"736984e842f64c4af71a8f09851fac41c5f395af","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.2.1.tgz","fileCount":12,"integrity":"sha512-hYDU3Uafr8uKXhv36/HzKbL6SJSwvpROhEosqGlJ4NLtxOgCd8Ps8QYRl/KK/qBQlwayrrJTOD2weoZECDCDrA==","signatures":[{"sig":"MEUCIGXZHW1sp5kkfOV3Ddex1Q8fCMcWKssY/i4Yru1mu6OOAiEAvi/M+lb0fTd0PcNBxyyf+TlQYdkwA4n91BPs67IoGNQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7517},"main":"src/index.js","scripts":{"test":"xo && nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","test:services:stop":"docker-compose -f ./test/services-compose.yaml down -v","test:services:start":"docker-compose -f ./test/services-compose.yaml up -d"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv-mongo.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017-2021 Jared Wray & Luke Childs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pify":"^5.0.0","mongojs":"^3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.46.4","ava":"^3.15.0","nyc":"^15.1.0","keyv":"4.0.4","this":"^1.0.2","coveralls":"^3.0.0","requirable":"^1.0.1","@keyv/test-suite":"1.6.12","eslint-config-xo-lukechilds":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo_1.2.1_1636762922079_0.7973791878363299","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@keyv/mongo","version":"1.2.2","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@1.2.2","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"6e3f23cd5e203287aa3ac2cb1bd2ed03a090ea84","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.2.2.tgz","fileCount":9,"integrity":"sha512-fdeKxX2h+ycM2jahGxlaLcIYMxv/jy/R6brKdFPYGtvWTLAj7exLi0R9kZMRpj4cldiFlu40ORcLA8aNmd77dw==","signatures":[{"sig":"MEUCIQD98QQGFEDF7gX395yDp87wkNVDfm+mPqPF2prSElp9+QIgDbR1OvE8Kg4VGK648uTPVl7PUgUlPKNZpRtm41wAmS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0OTwCRA9TVsSAnZWagAAQUUQAKAtH1m+C6SnQfcaRYKe\n81BwwM08LcW6spehkODPgdk3VrcHgaNZDmTddgbGCSEfP+YzYavHhaDekVx4\nSZVvtOtrmfEKo1Cl24uYv/CHhraz4AHXuW6d2vTiZiSrmFkcLCJ3t7IxoH+f\n3ig0Va3nkwOUBOSufpbIk/GLBhzmxANFKd/HXuNv3p1diu1Cu0UPeKH565tQ\nkkyYOPPt4KH8DjIHYvU39rQIxMujxfXLg8+X2JxmOIPc1fzeP2ETXzQqx4+o\nmvDRi//UWYC04+Azg6xnzTjRoYaNehScD6oRrgx8BhnSQ0hpqoiKcU6w6oNc\nJKyi3EOg/kpknJRx492HDJtSM9kqsH3tcGmHOvBjBmd1qnGCNfLLkJB7Fd/o\nqdrVg3cRcRaGytCgb2WhvZLf17qhtoux8frNU9pFlj++Gwd4faaQwXU/oYe9\nqzvof+0R0UvTFaQ7NKcjzZxOV5gfURhM95JuhwqXS8hIqtYepmsfK8wZIp6Q\njCAfSCGew1b7nYgv1/fYR3vCrZF6WG+3Xuz9nrSOI7ewLUPun8gQrhdKoGv+\nILYaBjdBcA4QThKpD29QXAiEKRJ0Va/rR1Cmqj0c2nPD7CsZbL1wXS2z0Tba\nFkSYzTMee7IIY0w0UYomMdt6iD54c8k9EVyxnwWE8zQkpVB6rIzICiu5MA6F\noUP5\r\n=LEra\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"d97948d3ad5f64da693e14ce8d84aa54fb7c3683","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"8.3.0","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"16.13.1","dependencies":{"pify":"^5.0.0","mongojs":"^3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.47.0","ava":"^3.15.0","nyc":"^15.1.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_1.2.2_1641080048637_0.2670578991014416","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@keyv/mongo","version":"1.2.3","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@1.2.3","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"30bbc23e95f851c606f38a02e587404a658127d4","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-1.2.3.tgz","fileCount":14,"integrity":"sha512-heOJiA55biPI1KHS8Tn3Q0T/naOOVQPylV7rZLMOUHE6iWGzZcvKRzgzHikBKPMh4+6qGj8le6lvIFCJWjyyPg==","signatures":[{"sig":"MEQCIH1S2K6PlyNMai6Sir1Y64t6HMHYvDZOfJcs7qCJjuaOAiA+NCwI3FbpkbyO2NcwBvAkrjQXmyUPqjmU8cXI9Cz0oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2bm2CRA9TVsSAnZWagAAiIEP/36idbxX140siyRGDO4O\n0tset4D+Zx0XrU1eWFiBcByYLwvD7vdVY5kwUM/SZB258I4dLfkfnGDTZHfe\n1I0inVknYwu6pFIu4yoonFDcrrfZueANEU49E+1YGgggfz6DxRW/PoU5UuWv\norKNINPgDfvofn+J4LpH9jAI2OV/Z1Dw+ZPvCKL3q2kronrpLZ/Ur+q+iPZv\n5wIeLZY8F4AgqG7bLjbY0vWF6XR/LHsJhdQr5lGw7TIxAKiOqJtNG1LxWqp+\n4ex3aBe3mj8QQWudpuQk4quoScyRwWeXT/BlPi4HOOUx/wDLBcgUnmeCMaxv\nhOiBdTXd3kiSVlVle0ulq1Zy9FBcjBSNkq4gssymiO6dUlpz/a9ujF4L1FPV\n6P5yrK5qUsyJJ4gM1pILUGc/M4qjg0DCcwfWA2ZiBMME8AO+TJ1HvGkZtD0R\nfoWMqxsFntPQDdI7lt34q6uocStRRF7XNtPus5MgejeGAlm8DPBRjmWNtttB\nT/81Gf2M/d/8nDDmakaMLL3Q1Yq4j+hncaI+NRZUFDF5zEN6/cXkYSNpb2gE\nCb0/GVcXW75CIKKCjC1CUUN23grHmhZsJ00KLAtQD3ypZGrR+L9nBJd6YGqj\nZPSzibETfTGHhsKwlhk8RARxo1Eh0HEt8D9QgYPNFv8UsM+aB2+kR4FFUwIx\nzLDv\r\n=MkjP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongojs":"^3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.47.0","ava":"^3.15.0","nyc":"^15.1.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_1.2.3_1641658806280_0.42789133637181465","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@keyv/mongo","version":"2.0.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.0.0","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"7ccbe601340820ba502a48de33999aeb379261ae","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.0.0.tgz","fileCount":14,"integrity":"sha512-MHIjILaigo1EqIjtnYI7alxH5AKbKFQ/Syf3IYuctCPD7vrYTqseSiZE2Y7c/r9y1d7Xje72O4jnVFo1EvaxbQ==","signatures":[{"sig":"MEUCIQDdbpNJLg6+lyPO9YvBJuet5qGNrSnKeSJXCN1/d+RF8AIgHQ5agons9tOO4U49QRqqzAT+uZ9KDZZCu1jqXRaRYbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8ZQnCRA9TVsSAnZWagAAe4UP/1Z+Z3AMbyD+lGJCTUWC\nneNZfexLw96cdhQo049l2dEIXMSB1imtPO0B23BBw0r5UaRH6/2nlSsFR2yK\nYoGTaEUGdj0WvTRdTyV2VBsk5X5mHnV27PYpzLIffhMXj9WmMxx57K/wztxm\n8kFwnwR9qCPHVC2tznwZc46hvLNZvCagsDYkb8FtUw5sVE+qiH4Z6U3xz1qt\n0cHPacIygkvwFdPyLne+hx4D6x3zECfkBhIpKE6FeoJ993yw52KTI9eGGLFB\nTotFr8+nBbRZSP3uN/pVIk4zurxF4gx999Bmwcj0GNo6R+sN46yx3qMrVQMQ\ny3YFhaFvQ96v1nVyrUul+4r7hDgx5B52XETLitI0i9i6xZVcF+kBFW24jwRf\nbeoUY2RCg2ANA8nuTdLg/1ntolDUy8STmoEE5KcFhZo+twht3gH14w8Ie0mj\n1uA7gPcQwwcOHhK8tVkYZ0OuCBTfVSfcXBZsHvuM4VK2iDeUyjHibuT+cJa8\nzxoD9YxoMBgTWHodd11ui/g2ItMOKNEiHAGjCtsRvW8vQPlrirmDy8mpJhx9\nuUGrEHTmO3jvsqNhBHyPTFfnDGlYUywTQ8B3KgFV3vH7lVIdrIIAM+9redFC\nD2ALVrbfTLG/u6e19rcRRhxgeJlJ8gIu8yJatVqkLpU3BpXMTA4xNUTjK9wf\nUnM9\r\n=1rvv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.3.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.47.0","ava":"^3.15.0","nyc":"^15.1.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.0.0_1643222055186_0.8044392757923682","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@keyv/mongo","version":"2.1.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.1.0","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"dist":{"shasum":"5defbb2188f57f872059a39e1aad99f61cb67ecd","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.1.0.tgz","fileCount":14,"integrity":"sha512-JTd8HihkHIo++jnXLZDHndEHjJbHwX49CSqhFiU1oV2yZMC0cDJeRw8gRbehxPnsOSEAypMLJ1DP5aDXTmwwpA==","signatures":[{"sig":"MEUCIQD8NEl1M2P3TzDu5A03XnoRLmFH3Gl/8b9mnLIwzCFbKgIgM0Bq1csJwOS5n6nZya9oH3ZofNgVEvfFarOFSTLcqm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH2xVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTPBAAnR3jXJYbwd1Y6kodby+LKycYzAexMcD/mIiY1JcAf9t4w1aU\r\ns15HIESYEEViFmyPmq5/XHBqVHjSbLaFZZuDvsN27gR6L4fJTKCrtOb3S938\r\nrO1QvDT2ltElOY+Plj+y/oi0Kl+6Dc3Tn1liyFbncnBJI3oiNCzT34pzP/vC\r\nWrQU1KyhFXrZtBPA/BcmFjZr5WqEmW/cwMO/+dnwDxGQxQr+c4an4Eqn1EVk\r\nSxJ3CfEAM5VshQ3ySNn93DQsyEXHHWqSBfXx0dGe0o2nHic4NSwZngVg5p2j\r\nvU6HkcbUQ04+u9l1R3cdbc5wEm6azGJdiTHyMepWwAvnBIGlQJEid9cFnYZ+\r\n/XC7rVQrZPuTGDwh4KODU34cfXiQ0gKVLRgVRbvSI/6hWiS7vu+09JHVOCnN\r\nUSQvwlVac+PrHM2vie9ant0jMmcwXqOPrt3SviD7v/GOKhIyhupOozbq4Wrf\r\nmBXHqngTz5cH14AKzQPTEbcMHu7wOjrqeo7caJNOf2TMJQkam72UeU/WvZE8\r\nKBafNlUuJwnGszYZbWBulFuT/Xfn7NEKOGsFgV3Hnxr3Eaz3oUFGQktn0CHl\r\np7JawfU8+xZ9mpUXnTEaooGqg/CARiqxgrxzNkt35Loi7R3J+Rx4kDK6MLLk\r\ndwTu3i4bO0IjFtZbkFVVUDu0RTO+UhwnMCk=\r\n=xAnA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.4.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.48.0","ava":"^4.0.1","nyc":"^15.1.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.1.0_1646226517160_0.9619076209883561","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"@keyv/mongo","version":"2.1.5","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.1.5","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-object-from-entries":0},"extends":"xo-lukechilds"},"ava":{"require":["requirable"]},"tsd":{"directory":"test"},"dist":{"shasum":"499667452446e507e3db635053de63c867b40a65","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.1.5.tgz","fileCount":6,"integrity":"sha512-uAg14n4nyGspVI6i1EZ3s6Ep6isphZK4ENdxzyQ8XwyHPgc+6MNL3wo5fiW/wQvSOug6PaJwNrJWR4F+3lq+RA==","signatures":[{"sig":"MEQCIFTM+/CujAnV9HyhYkA9ifxDF0cNT6IsD3aaAZshVcJjAiA40V3h/ui25yCX6M3WkJjaJQec2g3YW4I/+LzsUuY1Zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSL4EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+fw/+KbYtcVXV74w7EktJVUTJgZul5omJaPnkmjaunMtMmQ6KeQXU\r\ngZHqRH9mXcJcwKVTbIkjBA64fkhH/H0SCTySiybfZwvrI9+CO4pm6Jbhtybm\r\nh+5WaPVT4eaijNLmYAgiGfdXPBd0019fIr4m0vcsDHGEivh2ckqo8FDZHmAY\r\nijcPCvhmpIrt8Bog2xS7H9eK4UaF5MRc120Z3r8h9b2Yk3jOPmecsfzVd+EJ\r\nyq7gOD0GNZZzdlL1ty5b9IArglt/iLFutUiDCgV542+D0CvcEUIPo3gExmiv\r\nfZ+m8hyYrpwELEcfl7fswkMxT6D03ryNGMTtLhY7cX8S6IWFbJmFzdHWjng3\r\nUegTc2tsv73iUlEUq8uHdzEgpW6b0JQe3cuf7Hj+MrtGw0HWC564U1DXQBEr\r\n9SHUNlYEv/wY9k1/YeAJNUf4MYFkqsGKoyK1xapOfZX288A4nXkX92AqOtYH\r\nT18doMjjVqKAYVQdgnE1wdKOQcZmgEgx4whCBq9cYKGSu6getd0ri52eq4md\r\nAR3YNyPYCiOE5ZyZsOmQ39UzCax+Z7xPpOpa+aEkBx7Z6FKsh1lSSDpksudo\r\nTmU45eNm739rBIT1heleNuA/ZAHmAebaqOxHOtWhsa27NVw88v2H1Bl2dnZk\r\nCFsb/kwW+DXGR8F5+NEKw6/HkBF2inoUpF8=\r\n=gGr0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","types":"./src/index.d.ts","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.4.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.48.0","ava":"^4.1.0","nyc":"^15.1.0","tsd":"^0.20.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","typescript":"^4.6.3","@keyv/test-suite":"*","eslint-config-xo-lukechilds":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.1.5_1648934404426_0.5457906499662075","host":"s3://npm-registry-packages"}},"2.1.6":{"name":"@keyv/mongo","version":"2.1.6","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.1.6","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"unicorn/prefer-node-protocol":0,"unicorn/prefer-object-from-entries":0}},"ava":{"require":["requirable"]},"tsd":{"directory":"test"},"dist":{"shasum":"24f4fb937dfbd93f20d5d14834d07905079e87b4","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.1.6.tgz","fileCount":6,"integrity":"sha512-iKM2y8vrogSYToIQZ8+veOAf8mnWVVsUTDOIJO/JSt/2m3QzyL8AGryRdQcb+V7JSbqUSwqzWugCztWxl5RABA==","signatures":[{"sig":"MEUCIFAUQRsH1xT0tX6qChGW0C8RIXTERvQK6z4PN60pxVJHAiEAstr1hjD5xWqWLsFImESksXF73RTAKQ6GDiV0CQSbmJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSiOeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpeqg//cKOrkOBoZKle1vWj6eQKlKK/wAGJI7hapGewzmVSBOxwhGvT\r\nEYkCNkhYuJay14bW1uzGsyV8M7StzeLsYDlzpjpnY7HaWqKKI0NhJjpKpS2G\r\n5k8MZpBMVnsXhNrVq17czcXZCMdIL8pRFkW/pe/sJor/Y/7Tu1/REoM4nVi5\r\nPMq0KbBIo4RzersY5Q8Z9ZtL5C70H+MM2rXaaixyuMTFN94lngF4uqA2h++F\r\nU+NsGH3u4PFbtxXw55ZtpDnJkbn7N95Ykdror+rIe9QnKQbIO5AGgHFlqe3n\r\nTDummnpKnZOVdk2mJrdSlfeyGvQPpHVVxBU2J2DZbFgndkFwLqDHQLvKSLTU\r\nUNW3ZP8RQiUWORJlDny1acbrE3sbl89LZ8AhSJ2mLLbO/Pv64CO2TAgXNJtq\r\nlKs0IWHxIAeXtiXbteJ+A3NEOoSEA4yNFPgwemmI0slEySImcq/Bd4hPKIfq\r\nfUVS3N4pquB+WQ0S+G9+/4uZtlh98Crkc0oe48cfyJf7OZMknr0pifbcHIwm\r\n2zQjfYwX0G3AnV/vnQNL+SzrS6u2dt3Kux73smoQzpTHwtoG3m2h8SvmDh5v\r\n//JexhtGKMM/hAHay+6PwQIvuDW4sd95nLIfQBum8ZMeTpoaBCDgOx3O5RET\r\nBqeXrLtqjWCfInjdr47sCn7SSaQGCPxVcSY=\r\n=Fr+t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","types":"./src/index.d.ts","scripts":{"test":"xo && nyc ava","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.4.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.48.0","ava":"^4.1.0","nyc":"^15.1.0","tsd":"^0.20.0","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","typescript":"^4.6.3","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.1.6_1649025950439_0.9283038507460797","host":"s3://npm-registry-packages"}},"2.1.8":{"name":"@keyv/mongo","version":"2.1.8","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.1.8","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"ava/no-ignored-test-files":["error",{"extensions":["js","ts"]}],"unicorn/prefer-node-protocol":0,"unicorn/prefer-object-from-entries":0}},"ava":{"require":["requirable","ts-node/register"],"extensions":["js","ts"]},"tsd":{"directory":"test"},"dist":{"shasum":"ba044317cce2543a019fee0e45d46b1ad10d6abd","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.1.8.tgz","fileCount":6,"integrity":"sha512-IOFKS9Y10c42NCaoD/6OKmqz7FMCm/VbMbrip7ma8tBvdWcPhDkkPV3ZpLgGsGw39RePzzKO6FQ89xs0+BFCKg==","signatures":[{"sig":"MEUCIQCwbmeFjv4hk2VhbaPqfUlT2zOaU/f2jumuIvi57EZv8gIgKdOeERQ+1kSkHCEwXhNIBxpOoDmM4eFcFl3XstNoXxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTbwEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokJhAAhP/mV68LHcczfoYYx4R/ixz4M+IzjliLl3nJp9RGRQIxSIqP\r\n0SGw7cQB1onH92WcjgLGZPez1mhk5r+VvEJlL/O005KtIRzq0uPwjzFjdqmf\r\nnk/QAWw6gMusNubb4bPxsUr0UgdztIyUat0mDFSdHQhpXqo3yLdgErecNHg3\r\ncCAcg1WI7Np3ETL1Djv8H/ttIvUja88WHsD7dkP24ltEdu+JPY9VwWE8gxED\r\nDnpZDfNizFGzKY8u0UyFApwbygQQuwdp2WIZFUm0Rgy1sjd1NswFRR6ar2cX\r\nvbdunzGegmtE0LXIwPl+MUNmrDUhiBYAR3hwoFm5oXAso9i2mY9xUG1zYRY+\r\nmhID6cZ8U/lxUHq0ZMmZ2yDiIZTBEEpJito2d6qDUeVUCCOwMIdZi0qktyUT\r\nGCA3b7azPDD1G1YMpU/3vGhuDDRX2HiYE4y/7A+nwmE6W6WLd2oeuE4lRQJQ\r\nDJOyVPsK0aYAmh/wMZNyv87Gbw5vzFEx+oVK9YRkkt8dGp22MJHI70P88dPB\r\nxg4fNvoHwUyOEBaBAbLlTTTbygLfn3HNvpdNqYDBfQvzNW3qnx+6GPEG9Z7m\r\nGcvSU8NerFw3X9ZJVwwl70RDb7ISdnlCsRtWdYN0Dj2lNd93FucIXnfk1Jf8\r\niai17uyqcCiHFwteZH6BR/Vkub1/9mrfSOI=\r\n=V0fu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","types":"./src/index.d.ts","scripts":{"test":"xo && nyc ava --serial","clean":"rm -rf node_modules && rm -rf .nyc_output && rm -rf coverage.lcov","coverage":"nyc report --reporter=text-lcov > coverage.lcov"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.48.0","ava":"^4.2.0","nyc":"^15.1.0","tsd":"^0.20.0","keyv":"*","this":"^1.1.0","ts-node":"^10.8.2","requirable":"^1.0.5","typescript":"^4.6.4","@types/keyv":"^3.1.4","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.1.8_1666038788566_0.25287626669349383","host":"s3://npm-registry-packages"}},"2.2.8":{"name":"@keyv/mongo","version":"2.2.8","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@2.2.8","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":0,"unicorn/prefer-module":0,"unicorn/no-array-reduce":0,"ava/no-ignored-test-files":["error",{"extensions":["js","ts"]}],"unicorn/prefer-node-protocol":0,"@typescript-eslint/no-unsafe-call":0,"unicorn/prefer-object-from-entries":0,"@typescript-eslint/no-unsafe-return":0,"@typescript-eslint/naming-convention":0,"@typescript-eslint/no-unsafe-argument":0," @typescript-eslint/no-unsafe-argument":0,"@typescript-eslint/no-floating-promises":0,"@typescript-eslint/no-unsafe-assignment":0,"@typescript-eslint/consistent-type-imports":0}},"ava":{"require":["ts-node/register"],"extensions":["ts"]},"tsd":{"directory":"test"},"dist":{"shasum":"683631ac422fc19d912e45fa953b6959e6491a3b","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-2.2.8.tgz","fileCount":10,"integrity":"sha512-2y8RXQDzCUzvhkzjH0bj4+Ur9Ce+x9PjNrV6KnGGpRocexFKVgOYexIegnEc/DBy6HhNyqUlgWOpuFfnhpmF+A==","signatures":[{"sig":"MEUCIGb/F32RY3YVD6MdYVYQaJeDnCfdFgN22ouXFY6m7VgSAiEA3O2Lr4PaOQCt6OLSuo4rM1x68t29SVyavYhg0ixD7T8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26040},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"xo && c8 ava --serial","build":"tsc --project tsconfig.dist.json","clean":"rm -rf node_modules && rm -rf ./coverage","prepare":"yarn build","test:ci":"xo && ava --serial"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"pify":"^5.0.0","mongodb":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.28.1","keyv":"*","this":"^1.1.0","requirable":"^1.0.5","@types/pify":"^5.0.1","@ava/typescript":"^4.0.0","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_2.2.8_1684631309672_0.7343916095095124","host":"s3://npm-registry-packages"}},"3.0.0-rc.1":{"name":"@keyv/mongo","version":"3.0.0-rc.1","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.0-rc.1","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":"off","unicorn/prefer-module":"off","unicorn/no-array-reduce":"off","unicorn/prefer-event-target":"off","unicorn/prefer-node-protocol":"off","@typescript-eslint/no-unsafe-call":"off","import/no-extraneous-dependencies":"off","unicorn/prefer-object-from-entries":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/consistent-type-imports":"off","@typescript-eslint/no-confusing-void-expression":"off"}},"tsd":{"directory":"test"},"dist":{"shasum":"3891bf6b1b49142c68064ad725505c110f4b544d","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.0-rc.1.tgz","fileCount":18,"integrity":"sha512-mQeCozZ2L/cYtOvE04lJplLYsS/lgzvoGfoSiiT8KT/k4oFiMTJBMsyQwNiNBp8hLiMbp5AVQKkV7sIVtMWVWg==","signatures":[{"sig":"MEYCIQD2OnkEB6yHZLDEZxa/bRH0978BLD0+slDrt0uTkMjGIAIhALl5I9paCLat0LYGWZ3b4eHiZj2JHrTDUlkxLQass4Uv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46253},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"test":"xo --fix && vitest run --coverage","build":"rm -rf dist && tsc --project tsconfig.csj.json && tsc --project tsconfig.esm.json","clean":"rm -rf node_modules && rm -rf ./coverage","prepare":"yarn build","test:ci":"xo && vitest --run --sequence.setupFiles=list"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"dependencies":{"mongodb":"^6.6.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"xo":"^0.58.0","tsd":"^0.31.0","keyv":"^5.0.0-rc.1","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.0-rc.1_1716228866523_0.10760002028219096","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@keyv/mongo","version":"3.0.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.0","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":"off","unicorn/prefer-module":"off","unicorn/no-array-reduce":"off","unicorn/prefer-event-target":"off","unicorn/prefer-node-protocol":"off","@typescript-eslint/no-unsafe-call":"off","import/no-extraneous-dependencies":"off","unicorn/prefer-object-from-entries":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/consistent-type-imports":"off","@typescript-eslint/no-confusing-void-expression":"off"}},"tsd":{"directory":"test"},"dist":{"shasum":"4f671c3e27fc41f7d56c921675c3dc89e440c500","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.0.tgz","fileCount":19,"integrity":"sha512-EeMBd9VtWAdceYWwsScKcjKM6ND2GJYgodoyHneGVNQJXJ7ZR35bk7oGJ/XyIY6RvSVZX1lukMV7R0kOHtY8IQ==","signatures":[{"sig":"MEUCIDZoOzi77AWgsb8woW08gNIvHZPUcYEjBpUzzg+vTGpKAiEA5wKP7VFoa6lgin1W/aMnYPvk067FQjGewjU0qZljb48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50839},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"test":"xo --fix && vitest run --coverage","build":"rm -rf dist && tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json","clean":"rm -rf node_modules && rm -rf ./coverage","prepare":"yarn build","test:ci":"xo && vitest --run --sequence.setupFiles=list"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017-2021 Luke Childs\nCopyright (c) 2021-2022 Jared Wray\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"mongodb":"^6.8.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.3","tsd":"^0.31.1","keyv":"^5.0.0","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.0_1724196067897_0.025552850136948635","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@keyv/mongo","version":"3.0.1","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.1","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"},{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":"off","unicorn/prefer-module":"off","unicorn/no-array-reduce":"off","import/no-named-as-default":"off","unicorn/prefer-event-target":"off","unicorn/prefer-node-protocol":"off","@typescript-eslint/no-unsafe-call":"off","import/no-extraneous-dependencies":"off","unicorn/prefer-object-from-entries":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/consistent-type-imports":"off","@typescript-eslint/no-confusing-void-expression":"off"}},"tsd":{"directory":"test"},"dist":{"shasum":"f07ce246b22badfab6f91fcc99d5f4bc5cb8798e","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.1.tgz","fileCount":9,"integrity":"sha512-dNVIhm68mh/CAySN6q7o1vyBRdBRt41nrJXIDlqLhnXOo4l8IAY1Vj5BlTkUfw1BDLuZ9zjb+g1lr/BMRdzNdg==","signatures":[{"sig":"MEUCIAeFA08aLMR37FdAQl4sLfiDZQN1B+4r3pSlS1s47g8QAiEA4aAa1r5xndouTaZ2aN/wBX7ZMaZPWCp7Xoi/WtxW6Nk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25994},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"xo --fix && vitest run --coverage","build":"rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf node_modules && rm -rf ./coverage","prepare":"yarn build","test:ci":"xo && vitest --run --sequence.setupFiles=list"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017-2021 Luke Childs\nCopyright (c) 2021-2022 Jared Wray\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"mongodb":"^6.8.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.3","tsd":"^0.31.1","keyv":"^5.0.0","@keyv/test-suite":"*"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.1_1724283417424_0.21145754108572468","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@keyv/mongo","version":"3.0.2","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.2","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":"off","unicorn/prefer-module":"off","unicorn/no-array-reduce":"off","import/no-named-as-default":"off","unicorn/prefer-event-target":"off","unicorn/prefer-node-protocol":"off","@typescript-eslint/no-unsafe-call":"off","import/no-extraneous-dependencies":"off","unicorn/prefer-object-from-entries":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/consistent-type-imports":"off","@typescript-eslint/no-confusing-void-expression":"off"}},"tsd":{"directory":"test"},"dist":{"shasum":"ca2cbb9781dd86c9623273ad74356aed69ae17c8","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.2.tgz","fileCount":7,"integrity":"sha512-G6x+/ijU8//SctBynhp5sg6R3mXFOd7LhU4IVNRhtVL1VyY7GG2SLOfV36jVoTL6cAkCPIk0tzGyWmRZsZDEHg==","signatures":[{"sig":"MEUCIGWIFSK49l1G0imIoHl50fzuUhunVa3BlMUmP/3x5MxcAiEA5M1AWKLJMfz1/P+qs1HjXtYEZFxvIqKz5O1Wti07LQQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26213},"main":"dist/index.cjs","type":"module","_from":"file:keyv-mongo-3.0.2.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"xo --fix && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","test:ci":"xo && vitest --run --sequence.setupFiles=list"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/private/var/folders/h1/n3vxgc0n1sn5_9pxftc4p6l80000gn/T/78f40ef8879d084c2b81d2944ad31433/keyv-mongo-3.0.2.tgz","_integrity":"sha512-G6x+/ijU8//SctBynhp5sg6R3mXFOd7LhU4IVNRhtVL1VyY7GG2SLOfV36jVoTL6cAkCPIk0tzGyWmRZsZDEHg==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.4.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"20.17.0","dependencies":{"mongodb":"^6.8.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.3","tsd":"^0.31.1","keyv":"^5.0.0","rimraf":"^6.0.1","@keyv/test-suite":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.2_1748558945300_0.6176336005488976","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"@keyv/mongo","version":"3.0.3","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.3","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"xo":{"rules":{"import/extensions":"off","unicorn/prefer-module":"off","unicorn/no-array-reduce":"off","import/no-named-as-default":"off","unicorn/prefer-event-target":"off","unicorn/prefer-node-protocol":"off","@typescript-eslint/no-unsafe-call":"off","import/no-extraneous-dependencies":"off","unicorn/prefer-object-from-entries":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/consistent-type-imports":"off","@typescript-eslint/no-confusing-void-expression":"off"}},"tsd":{"directory":"test"},"dist":{"shasum":"e181d239ce37d7525ca289b461d074c87790a702","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.3.tgz","fileCount":7,"integrity":"sha512-n8y9YC+1NfwX7bmI+TPBWKaVapw6oKqjRSz7VA4HV11qbNb+0+94DAJ2/Vcx2ugnoiXikZarzoyesXPRsiIVog==","signatures":[{"sig":"MEUCIDllDkwoUazFD8cj6wZiwVO0idkUBCH0qiHee8weXUleAiEA70HkCuErHB67UO8+PhPqCuMaP6YwcEv7kzImPf3JHqk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26167},"main":"dist/index.cjs","type":"module","_from":"file:keyv-mongo-3.0.3.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"xo --fix && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","test:ci":"xo && vitest --run --sequence.setupFiles=list"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/private/var/folders/h1/n3vxgc0n1sn5_9pxftc4p6l80000gn/T/087c255d0981c82dd7ec2b60a2ffdbb4/keyv-mongo-3.0.3.tgz","_integrity":"sha512-n8y9YC+1NfwX7bmI+TPBWKaVapw6oKqjRSz7VA4HV11qbNb+0+94DAJ2/Vcx2ugnoiXikZarzoyesXPRsiIVog==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.4.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"20.17.0","dependencies":{"mongodb":"^6.8.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.3","tsd":"^0.31.1","keyv":"^5.0.0","rimraf":"^6.0.1","@keyv/test-suite":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.3_1749522514027_0.06391203645681087","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"@keyv/mongo","version":"3.0.4","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.4","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"66e6693a2940bad56a2dadd3be76bec696e928ac","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.4.tgz","fileCount":7,"integrity":"sha512-4gBZnbq7otri98Q0lDazyjdTP92vRkuQdSUXolIfWgPSfKKGoRqR5myqJ0AbrPC2ccua5MbG0xgY1sn62GTsqA==","signatures":[{"sig":"MEYCIQCt/c+2leAN+pGgiGLcyd+VTOw0zf7ttwBWvJx9PuDiWgIhAM3Nst4IloNHwJQBXU1OUdoPXQg1o690l08Y6nFtvFfS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26523},"main":"dist/index.cjs","type":"module","_from":"file:keyv-mongo-3.0.4.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/private/var/folders/h1/n3vxgc0n1sn5_9pxftc4p6l80000gn/T/3f630a11d01176cd4c78b421bceaa900/keyv-mongo-3.0.4.tgz","_integrity":"sha512-4gBZnbq7otri98Q0lDazyjdTP92vRkuQdSUXolIfWgPSfKKGoRqR5myqJ0AbrPC2ccua5MbG0xgY1sn62GTsqA==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.4.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"20.17.0","dependencies":{"mongodb":"^6.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.0.1","@biomejs/biome":"^2.2.4","@keyv/test-suite":"^2.1.1"},"peerDependencies":{"keyv":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.4_1759010061351_0.8024075620528988","host":"s3://npm-registry-packages-npm-production"}},"3.0.5":{"name":"@keyv/mongo","version":"3.0.5","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.0.5","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"7604ff9f232729f36e6eb9eab53f84778ecd6c0a","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.0.5.tgz","fileCount":7,"integrity":"sha512-GajEeJaex/KTNhzw/irW4THURvd4eodRs7/LvUstp5c3L1aU4Hqh9i7K1e91w29fKQvhnTkaCZ7G7LL9+kR+tw==","signatures":[{"sig":"MEQCIAFt/DXgMgWBMqRufyxdwoFHL6LB/iXCGHgJ1F1hu8guAiBsezEbjqOjaXXOwrFe1Ur/7aKjqgPf0KoBoKtskdVLHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26539},"main":"dist/index.cjs","type":"module","_from":"file:keyv-mongo-3.0.5.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/private/var/folders/q4/x95kq1ln6cd7rrnct9cby32r0000gn/T/0add228124dcb718fa7675ae2327114a/keyv-mongo-3.0.5.tgz","_integrity":"sha512-GajEeJaex/KTNhzw/irW4THURvd4eodRs7/LvUstp5c3L1aU4Hqh9i7K1e91w29fKQvhnTkaCZ7G7LL9+kR+tw==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.6.0","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"22.12.0","dependencies":{"mongodb":"^6.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.0.1","@biomejs/biome":"^2.2.5","@keyv/test-suite":"^2.1.1"},"peerDependencies":{"keyv":"^5.5.3"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.0.5_1759493678827_0.2696091886757055","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@keyv/mongo","version":"3.1.0","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@3.1.0","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"3fec171cbe414228f3f9a880a6b1650db417a16a","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-3.1.0.tgz","fileCount":7,"integrity":"sha512-PGeqdUz8Ta2/IccVFBzWxcUQ2+fzcniJYbRZXKSeMG47gGLgESDKbHPiWOpghTwXn91aUF11AfJ1KCeJWqIzoA==","signatures":[{"sig":"MEYCIQDTNrduQKyPthpVu5LyI3q26ZHnhYoW9rNWJXDKubMstAIhAJuFswNMuyl1Kr0K5n18rWnW7pC02YFqYxxe04+ycjbd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26471},"main":"./dist/index.js","type":"module","_from":"file:keyv-mongo-3.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/private/var/folders/h1/n3vxgc0n1sn5_9pxftc4p6l80000gn/T/9fa217eea358acd3a2014a4891040bcc/keyv-mongo-3.1.0.tgz","_integrity":"sha512-PGeqdUz8Ta2/IccVFBzWxcUQ2+fzcniJYbRZXKSeMG47gGLgESDKbHPiWOpghTwXn91aUF11AfJ1KCeJWqIzoA==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.4.1","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"20.17.0","dependencies":{"mongodb":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.2","vitest":"^4.0.16","@biomejs/biome":"^2.3.10","@keyv/test-suite":"^2.1.2","@vitest/coverage-v8":"^4.0.16"},"peerDependencies":{"keyv":"^5.5.5"},"_npmOperationalInternal":{"tmp":"tmp/mongo_3.1.0_1766779436066_0.5427645349283312","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-alpha.1":{"name":"@keyv/mongo","version":"6.0.0-alpha.1","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@6.0.0-alpha.1","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"0527c61476c4d54f505d06437a0c728a29b0acf1","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-VXRlgvh9H+DDWJl+crot9KcFd4vQhQZhbmTKg6Q593g4EHYO0RNz7eC7Sgv6qupCNrJ+NIfK83+5PDoF+vZG0Q==","signatures":[{"sig":"MEUCIQDavkt46IJ1AqatPgcHcNudVjduzDehk+2dYkD8zRpGzQIgHW4M8hGpJTMPr3maVooG+ntMX6i7NUp3V6XisYzh8+Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79780},"main":"./dist/index.js","type":"module","_from":"file:keyv-mongo-6.0.0-alpha.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/tmp/7559d2f6d1997756ec7188a1eebfa911/keyv-mongo-6.0.0-alpha.1.tgz","_integrity":"sha512-VXRlgvh9H+DDWJl+crot9KcFd4vQhQZhbmTKg6Q593g4EHYO0RNz7eC7Sgv6qupCNrJ+NIfK83+5PDoF+vZG0Q==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.8.0","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.13.1","dependencies":{"mongodb":"^7.0.0","hookified":"^1.13.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.2","vitest":"^4.0.16","@biomejs/biome":"^2.3.10","@faker-js/faker":"^10.2.0","@keyv/test-suite":"^6.0.0-alpha.1","@vitest/coverage-v8":"^4.0.16"},"peerDependencies":{"keyv":"^6.0.0-alpha.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-alpha.1_1772070198634_0.707517864431406","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-alpha.2":{"name":"@keyv/mongo","version":"6.0.0-alpha.2","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@6.0.0-alpha.2","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"2bbd9f14f20b17a31ae7d7b354fa67e883c482e1","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-FwYAIuo4ozfbNuOC3FTWZkzLd1z8u4fAWTNulN3G7u95hSROsyXdh8xXP1LOt+Z20I9w6SrFuvrFP8wxvagMbA==","signatures":[{"sig":"MEQCIGXGw/hDkqGlMlVJAG6Oo6k5NzpFNllJuPH/S8xjIHVbAiAKJeZLPgHr1+hfKhT+ccnMIqo9CSRZechBkKgBSWdqDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79843},"main":"./dist/index.js","type":"module","_from":"file:keyv-mongo-6.0.0-alpha.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/tmp/6089d3dbc0ca36753708145f5b806a50/keyv-mongo-6.0.0-alpha.2.tgz","_integrity":"sha512-FwYAIuo4ozfbNuOC3FTWZkzLd1z8u4fAWTNulN3G7u95hSROsyXdh8xXP1LOt+Z20I9w6SrFuvrFP8wxvagMbA==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.8.0","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.13.1","dependencies":{"mongodb":"^7.0.0","hookified":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.2","vitest":"^4.0.16","@biomejs/biome":"^2.3.10","@faker-js/faker":"^10.2.0","@keyv/test-suite":"^6.0.0-alpha.2","@vitest/coverage-v8":"^4.0.16"},"peerDependencies":{"keyv":"^6.0.0-alpha.2"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-alpha.2_1772593381440_0.0006876260348140928","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-alpha.3":{"name":"@keyv/mongo","version":"6.0.0-alpha.3","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":{"url":"https://jaredwray.com","name":"Jared Wray","email":"me@jaredwray.com"},"license":"MIT","_id":"@keyv/mongo@6.0.0-alpha.3","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"43ed775cf5c405bcb0d5e8d7d46fc3f249f22d0e","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-alpha.3.tgz","fileCount":7,"integrity":"sha512-7FoYilHYumV0Pq/iPqM0X3f9eQzPV3xdbONoC62gbDjeU9rkhQ4q3sSi6gwSNzvOuLKrvTNnk3qAKXVEgW1+dw==","signatures":[{"sig":"MEYCIQCw+bu/OwQVliGpfbyoH0WK0BfQO2pT2LJ13ZFrePaEbQIhAJ3n51QtH0tjyMVObl9arHHKJLcnwdwFhorC5FJupCkL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79611},"main":"./dist/index.js","type":"module","_from":"file:keyv-mongo-6.0.0-alpha.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"jaredwray","email":"me@jaredwray.com"},"_resolved":"/tmp/eeda8a3ba92cea30ef94e2aae22434a0/keyv-mongo-6.0.0-alpha.3.tgz","_integrity":"sha512-7FoYilHYumV0Pq/iPqM0X3f9eQzPV3xdbONoC62gbDjeU9rkhQ4q3sSi6gwSNzvOuLKrvTNnk3qAKXVEgW1+dw==","repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"_npmVersion":"11.9.0","description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.14.0","dependencies":{"mongodb":"^7.0.0","hookified":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.2","vitest":"^4.0.16","@biomejs/biome":"^2.3.10","@faker-js/faker":"^10.2.0","@keyv/test-suite":"^6.0.0-alpha.3","@vitest/coverage-v8":"^4.0.16"},"peerDependencies":{"keyv":"^6.0.0-alpha.3"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-alpha.3_1774214171300_0.8831432268041344","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-beta.3":{"name":"@keyv/mongo","version":"6.0.0-beta.3","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":"Jared Wray <me@jaredwray.com> (https://jaredwray.com)","license":"MIT","_id":"@keyv/mongo@6.0.0-beta.3","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"e72c087763912a34c456cc340d89a70eb604e533","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-beta.3.tgz","fileCount":7,"integrity":"sha512-tucb/AoZGr2ExdFneBfGyNQyQwXyWEJOKvH2TstzsyBBTcErXkIrHEu5NA1Z3bFsWQZqvfZDoAhYDwc7hOaXHA==","signatures":[{"sig":"MEUCIQDAzkxC2zcygUlBY4PcemTG5cHkm6Uwo/XN47fvBQtNgwIgSFfdOHPx0zNCTffBRhlEhhhyL3eQMw5rK/uqXhpVXBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@keyv%2fmongo@6.0.0-beta.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75220},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">= 22.18.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"tsdown","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0e7aa4c-833d-44e5-8858-8cc483eab152"}},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.16.0","dependencies":{"mongodb":"^7.2.0","hookified":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.3","vitest":"^4.1.8","@biomejs/biome":"^2.4.16","@faker-js/faker":"^10.4.0","@keyv/test-suite":"^6.0.0-beta.3","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"keyv":"^6.0.0-beta.3"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-beta.3_1781209755933_0.6006929442878581","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-beta.4":{"name":"@keyv/mongo","version":"6.0.0-beta.4","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":"Jared Wray <me@jaredwray.com> (https://jaredwray.com)","license":"MIT","_id":"@keyv/mongo@6.0.0-beta.4","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"c332c384997d8ae89aeeeccf671e2de8d1dc3697","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-beta.4.tgz","fileCount":7,"integrity":"sha512-FDSH6Jz7CCN9nz0bckMsP54by0aksVZN5iYTjUyLaX1jqZ2GxW3RBHH3kns9FnMq45cslb53Z72ZAr2UdGnZYg==","signatures":[{"sig":"MEYCIQCElwNG6abYwLSsZfTxtHe93nnVCvb1K2+N/Ywls3BMrQIhAJwXCBwuKYOpEpHS7kDWVHK2HwbBJN83kvUnMmhEMm6H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@keyv%2fmongo@6.0.0-beta.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":85329},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">= 22.18.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"tsdown","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0e7aa4c-833d-44e5-8858-8cc483eab152"}},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.16.0","dependencies":{"mongodb":"^7.2.0","hookified":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.3","vitest":"^4.1.8","@biomejs/biome":"^2.4.16","@faker-js/faker":"^10.4.0","@keyv/test-suite":"^6.0.0-beta.4","@vitest/coverage-v8":"^4.1.8"},"peerDependencies":{"keyv":"^6.0.0-beta.4"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-beta.4_1781821752813_0.4799924561898896","host":"s3://npm-registry-packages-npm-production"}},"6.0.0-rc.1":{"name":"@keyv/mongo","version":"6.0.0-rc.1","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"author":"Jared Wray <me@jaredwray.com> (https://jaredwray.com)","license":"MIT","_id":"@keyv/mongo@6.0.0-rc.1","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"homepage":"https://github.com/jaredwray/keyv","bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"14f9db7be9238e7fc249ea12a7a072e8fc4d9de8","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.0.0-rc.1.tgz","fileCount":7,"integrity":"sha512-0saU9DIVJ7VMTkx8rGGSCu7VAHvItNf59jFU6DDvehpkk6guOcQCe65D4/a0vEKoSzhr24y5LvwHfmjY+h8Spg==","signatures":[{"sig":"MEUCIQDV0K8RHm2QQgq4iHsmdjg40xv/oRq2HavPrsPi1rWuiAIgIbebpWbpOwfkQFeZse6ubwSvmrDA5iHpmt6Oxh5mNZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@keyv%2fmongo@6.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":85516},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","engines":{"node":">= 22.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"tsdown","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e0e7aa4c-833d-44e5-8858-8cc483eab152"}},"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"_nodeVersion":"24.18.0","dependencies":{"mongodb":"^7.5.0","hookified":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.3","vitest":"^4.1.10","@biomejs/biome":"^2.5.6","@faker-js/faker":"^10.5.0","@keyv/test-suite":"^6.0.0-rc.1","@vitest/coverage-v8":"^4.1.10"},"peerDependencies":{"keyv":"^6.0.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo_6.0.0-rc.1_1785784871431_0.7538941781275652","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"_id":"@keyv/mongo@6.1.0","tsd":{"directory":"test"},"bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"dist":{"shasum":"8dc918ff1e03c1d672bf1fb4c4563099b578645e","tarball":"https://registry.npmjs.org/@keyv/mongo/-/mongo-6.1.0.tgz","integrity":"sha512-aUvY7HSNSpxdZYqTUIRkEp+7AfGC64aShJ55w4tiq90ZO87Jb/AWa9O9n0W2G7B1ILtxSjiqJQSS6tk7f9G+nw==","fileCount":8,"unpackedSize":107235,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@keyv%2fmongo@6.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDXh/ZRmHRrVBJu0Wbbl23o6iGf4iGTE/CvYCBQNk4NEAiAKL6a8otNsJCsAzcuOGAL/tnSOL42XJwM1sZ6ZLvM5Yg=="}]},"main":"./dist/index.mjs","name":"@keyv/mongo","type":"module","types":"./dist/index.d.mts","author":"Jared Wray <me@jaredwray.com> (https://jaredwray.com)","module":"./dist/index.mjs","engines":{"node":">= 22.19.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"license":"MIT","scripts":{"lint":"biome check --write --error-on-warnings","test":"pnpm lint && vitest run --coverage","build":"tsdown","clean":"rimraf ./node_modules ./coverage ./dist","lint:ci":"biome check --error-on-warnings","test:ci":"pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage"},"version":"6.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"35366a62-972d-42dc-8184-e839c4e75b49"},"approver":{"name":"jaredwray","email":"me@jaredwray.com"}},"homepage":"https://github.com/jaredwray/keyv","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","directories":{},"maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"dependencies":{"mongodb":"^7.6.0","hookified":"^3.0.3"},"devDependencies":{"tsd":"^0.33.0","rimraf":"^6.1.3","vitest":"^4.1.11","@biomejs/biome":"^2.5.11","@faker-js/faker":"^10.6.0","@keyv/test-suite":"^6.1.0","@vitest/coverage-v8":"^4.1.11"},"peerDependencies":{"keyv":"^6.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongo_6.1.0_1791327371211_0.045712078857620186"},"_hasShrinkwrap":false}},"time":{"created":"2017-08-11T14:05:27.563Z","modified":"2026-10-06T22:56:11.686Z","1.0.3":"2017-08-11T14:05:27.563Z","1.0.4":"2017-09-05T16:13:47.341Z","1.1.0":"2019-01-09T06:36:01.940Z","1.2.0":"2021-10-21T03:39:33.845Z","1.2.1":"2021-11-13T00:22:02.244Z","1.2.2":"2022-01-01T23:34:08.822Z","1.2.3":"2022-01-08T16:20:06.453Z","2.0.0":"2022-01-26T18:34:15.379Z","2.1.0":"2022-03-02T13:08:37.318Z","2.1.5":"2022-04-02T21:20:04.580Z","2.1.6":"2022-04-03T22:45:50.571Z","2.1.8":"2022-10-17T20:33:08.741Z","2.2.8":"2023-05-21T01:08:29.862Z","3.0.0-rc.1":"2024-05-20T18:14:26.667Z","3.0.0":"2024-08-20T23:21:08.069Z","3.0.1":"2024-08-21T23:36:57.574Z","3.0.2":"2025-05-29T22:49:05.473Z","3.0.3":"2025-06-10T02:28:34.194Z","3.0.4":"2025-09-27T21:54:21.519Z","3.0.5":"2025-10-03T12:14:39.021Z","3.1.0":"2025-12-26T20:03:56.210Z","6.0.0-alpha.1":"2026-02-26T01:43:18.827Z","6.0.0-alpha.2":"2026-03-04T03:03:01.611Z","6.0.0-alpha.3":"2026-03-22T21:16:11.460Z","6.0.0-beta.3":"2026-06-11T20:29:16.108Z","6.0.0-beta.4":"2026-06-18T22:29:12.963Z","6.0.0-rc.1":"2026-08-03T19:21:11.566Z","6.0.0":"2026-08-04T09:31:03.692Z","6.1.0":"2026-10-06T22:56:11.309Z"},"bugs":{"url":"https://github.com/jaredwray/keyv/issues"},"author":"Jared Wray <me@jaredwray.com> (https://jaredwray.com)","license":"MIT","homepage":"https://github.com/jaredwray/keyv","keywords":["mongo","mongodb","keyv","storage","adapter","key","value","store","cache","ttl"],"repository":{"url":"git+https://github.com/jaredwray/keyv.git","type":"git"},"description":"MongoDB storage adapter for Keyv","maintainers":[{"name":"jaredwray","email":"me@jaredwray.com"}],"readme":"# @keyv/mongo [<img width=\"100\" align=\"right\" src=\"https://jaredwray.com/images/keyv-symbol.svg\" alt=\"keyv\">](https://github.com/jaredwray/keyv)\n\n> MongoDB storage adapter for Keyv\n\n[![build](https://github.com/jaredwray/keyv/actions/workflows/tests.yaml/badge.svg)](https://github.com/jaredwray/keyv/actions/workflows/tests.yaml)\n[![codecov](https://codecov.io/gh/jaredwray/keyv/branch/main/graph/badge.svg?token=bRzR3RyOXZ)](https://codecov.io/gh/jaredwray/keyv)\n[![npm](https://img.shields.io/npm/v/@keyv/mongo.svg)](https://www.npmjs.com/package/@keyv/mongo)\n[![npm](https://img.shields.io/npm/dm/@keyv/mongo)](https://npmjs.com/package/@keyv/mongo)\n\nMongoDB storage adapter for [Keyv](https://github.com/jaredwray/keyv).\n\nUses TTL indexes to automatically remove expired documents. However [MongoDB doesn't guarantee data will be deleted immediately upon expiration](https://docs.mongodb.com/manual/core/index-ttl/#timing-of-the-delete-operation), so expiry dates are revalidated in Keyv.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Constructor Options](#constructor-options)\n- [Properties](#properties)\n  - [url](#url)\n  - [collection](#collection)\n  - [namespace](#namespace)\n  - [useGridFS](#usegridfs)\n  - [db](#db)\n  - [readPreference](#readpreference)\n- [Methods](#methods)\n  - [set](#set)\n  - [setMany](#setmany)\n  - [get](#get)\n  - [getMany](#getmany)\n  - [has](#has)\n  - [hasMany](#hasmany)\n  - [delete](#delete)\n  - [deleteMany](#deletemany)\n  - [clear](#clear)\n  - [iterator](#iterator)\n  - [disconnect](#disconnect)\n  - [clearExpired](#clearexpired)\n  - [clearUnusedFor](#clearunusedfor)\n- [Migration from v3 to v6](#migration-from-v3-to-v6)\n  - [Running the migration script](#running-the-migration-script)\n- [License](#license)\n\n## Install\n\n```shell\nnpm install --save keyv @keyv/mongo\n```\n\n## Usage\n\n```js\nimport Keyv from 'keyv';\nimport KeyvMongo from '@keyv/mongo';\n\nconst keyv = new Keyv(new KeyvMongo('mongodb://user:pass@localhost:27017/dbname'));\nkeyv.on('error', handleConnectionError);\n```\n\nYou can specify the collection name, by default `'keyv'` is used.\n\ne.g:\n\n```js\nconst keyv = new Keyv(new KeyvMongo('mongodb://user:pass@localhost:27017/dbname', { collection: 'cache' }));\n```\n\nYou can also use the `createKeyv` helper function to create a `Keyv` instance with `KeyvMongo` as the store:\n\n```js\nimport { createKeyv } from '@keyv/mongo';\n\nconst keyv = createKeyv('mongodb://user:pass@localhost:27017/dbname');\n```\n\n## Constructor Options\n\nThe `KeyvMongo` constructor accepts a connection URI string or an options object:\n\n```js\n// With URI string\nconst store = new KeyvMongo('mongodb://user:pass@localhost:27017/dbname');\n\n// With options object\nconst store = new KeyvMongo({\n  url: 'mongodb://user:pass@localhost:27017/dbname',\n  collection: 'cache',\n  db: 'mydb',\n  useGridFS: false,\n});\n\n// With URI string and additional options\nconst store = new KeyvMongo('mongodb://user:pass@localhost:27017/dbname', { collection: 'cache' });\n```\n\n| Option | Type | Default | Description |\n|---|---|---|---|\n| `url` | `string` | `'mongodb://127.0.0.1:27017'` | MongoDB connection URI |\n| `collection` | `string` | `'keyv'` | Collection name for storage |\n| `namespace` | `string \\| undefined` | `undefined` | Namespace for keys, stored in each document's `namespace` field |\n| `useGridFS` | `boolean` | `false` | Whether to use GridFS for storing values |\n| `db` | `string \\| undefined` | `undefined` | Database name |\n| `readPreference` | `ReadPreference \\| undefined` | `undefined` | MongoDB read preference for GridFS operations |\n\nAny additional options are passed through to the MongoDB driver as `MongoClientOptions`.\n\n## Properties\n\nMost configuration options are exposed as properties with getters and setters on the `KeyvMongo` instance. You can read or update them after construction. Some properties like `useGridFS` are read-only and can only be set via the constructor.\n\n### url\n\nGet or set the MongoDB connection URI.\n\n- Type: `string`\n- Default: `'mongodb://127.0.0.1:27017'`\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://user:pass@localhost:27017/dbname' });\nconsole.log(store.url); // 'mongodb://user:pass@localhost:27017/dbname'\n```\n\n### collection\n\nGet or set the collection name used for storage.\n\n- Type: `string`\n- Default: `'keyv'`\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://user:pass@localhost:27017/dbname' });\nconsole.log(store.collection); // 'keyv'\nstore.collection = 'cache';\n```\n\n### namespace\n\nGet or set the namespace for the adapter. It is stored in each document's `namespace` field (or `metadata.namespace` with GridFS) and scopes operations like `clear()`.\n\n- Type: `string | undefined`\n- Default: `undefined`\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://user:pass@localhost:27017/dbname' });\nstore.namespace = 'my-namespace';\nconsole.log(store.namespace); // 'my-namespace'\n```\n\n### useGridFS\n\nGet whether GridFS is used for storing values. When enabled, values are stored using MongoDB's GridFS specification, which is useful for storing large files. This property is read-only and can only be set via the constructor, because the connection shape differs between GridFS and standard modes.\n\nEach value is a GridFS file named after its key. `set` writes a new file and then deletes the key's older files, so a key keeps a single file. Reads always use the newest file for a key, and `delete` removes every file for it.\n\n- Type: `boolean`\n- Default: `false`\n- Read-only (set via constructor only)\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://user:pass@localhost:27017/dbname', useGridFS: true });\nconsole.log(store.useGridFS); // true\n```\n\n### db\n\nGet or set the database name for the MongoDB connection.\n\n- Type: `string | undefined`\n- Default: `undefined`\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://user:pass@localhost:27017', db: 'mydb' });\nconsole.log(store.db); // 'mydb'\n```\n\n### readPreference\n\nGet or set the MongoDB read preference for GridFS operations.\n\n- Type: `ReadPreference | undefined`\n- Default: `undefined`\n\n```js\nimport { ReadPreference } from 'mongodb';\n\nconst store = new KeyvMongo({\n  url: 'mongodb://user:pass@localhost:27017/dbname',\n  useGridFS: true,\n  readPreference: ReadPreference.SECONDARY,\n});\nconsole.log(store.readPreference); // ReadPreference.SECONDARY\n```\n\n## Methods\n\n### set\n\n`set(key, value, expires?)` - Set a value in the store.\n\n- `key` *(string)* - The key to set.\n- `value` *(any)* - The value to store.\n- `expires` *(number, optional)* - Absolute expiry time as a Unix timestamp in milliseconds (`Date.now() + ttl`). If specified, the key expires at this time.\n- Returns: `Promise<boolean>`\n\nThrough a `Keyv` instance, `keyv.set(key, value, ttl)` still takes a relative `ttl` in milliseconds. Keyv converts it to `expires` before it calls the adapter.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store });\n\nawait keyv.set('foo', 'bar');\nawait keyv.set('foo', 'bar', 5000); // Keyv takes a relative ttl: expires in 5 seconds\n\nawait store.set('foo', 'bar', Date.now() + 5000); // the adapter takes an absolute expires\n```\n\n### setMany\n\n`setMany(entries)` - Set multiple values in the store at once.\n\n- `entries` *(KeyvStorageEntry<Value>[])* - Array of entries to set. Each entry has a `key`, `value`, and optional `expires` (an absolute Unix timestamp in milliseconds). A `ttl` field is ignored. `Value` is inferred from the entries provided.\n- Returns: `Promise<boolean[]>` - An array of booleans indicating whether each entry was set successfully.\n\nThrough a `Keyv` instance, `keyv.setMany()` takes entries with a relative `ttl` (`{ key, value, ttl? }`) and converts them before it calls the adapter.\n\nIn standard mode, uses a single unordered MongoDB `bulkWrite` operation for efficiency with per-entry error tracking — if individual writes fail, only those entries return `false`. In GridFS mode, each entry is set individually in parallel using `Promise.allSettled`, providing per-entry success tracking.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\n\nconst results = await store.setMany([\n  { key: 'key1', value: 'value1' },\n  { key: 'key2', value: 'value2', expires: Date.now() + 5000 },\n]); // [true, true]\n```\n\n### get\n\n`get(key)` - Get a value from the store.\n\n- `key` *(string)* - The key to retrieve.\n- Returns: `Promise<any>` - The stored value, or `undefined` if the key does not exist.\n\nIn GridFS mode, `get` also updates the `lastAccessed` timestamp on the file, which is used by `clearUnusedFor`.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store });\n\nawait keyv.set('foo', 'bar');\nconst value = await keyv.get('foo');\nconsole.log(value); // 'bar'\n\nconst missing = await keyv.get('nonexistent');\nconsole.log(missing); // undefined\n```\n\n### getMany\n\n`getMany(keys)` - Get multiple values from the store at once.\n\n- `keys` *(string[])* - Array of keys to retrieve.\n- Returns: `Promise<Array<any>>` - Array of values in the same order as the input keys. Missing keys return `undefined` at their position.\n\nIn standard mode, uses a single MongoDB query with the `$in` operator for efficiency. In GridFS mode, each key is fetched individually.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\n\nawait store.set('key1', 'value1');\nawait store.set('key2', 'value2');\n\nconst values = await store.getMany(['key1', 'key2', 'key3']);\nconsole.log(values); // ['value1', 'value2', undefined]\n```\n\n### has\n\n`has(key)` - Check if a key exists in the store.\n\n- `key` *(string)* - The key to check.\n- Returns: `Promise<boolean>` - `true` if the key exists, `false` otherwise.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store });\n\nawait keyv.set('foo', 'bar');\nconsole.log(await keyv.has('foo')); // true\nconsole.log(await keyv.has('nonexistent')); // false\n```\n\n### hasMany\n\n`hasMany(keys)` - Check if multiple keys exist in the store at once.\n\n- `keys` *(string[])* - Array of keys to check.\n- Returns: `Promise<boolean[]>` - Array of booleans in the same order as the input keys.\n\nUses a single MongoDB query with the `$in` operator for efficiency in both standard and GridFS modes.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\n\nawait store.set('key1', 'value1');\nawait store.set('key2', 'value2');\n\nconst results = await store.hasMany(['key1', 'key2', 'key3']);\nconsole.log(results); // [true, true, false]\n```\n\n### delete\n\n`delete(key)` - Delete a key from the store.\n\n- `key` *(string)* - The key to delete.\n- Returns: `Promise<boolean>` - `true` if the key was deleted, `false` if the key was not found.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store });\n\nawait keyv.set('foo', 'bar');\nconsole.log(await keyv.delete('foo')); // true\nconsole.log(await keyv.delete('nonexistent')); // false\n```\n\n### deleteMany\n\n`deleteMany(keys)` - Delete multiple keys from the store at once.\n\n- `keys` *(string[])* - Array of keys to delete.\n- Returns: `Promise<boolean[]>` - An array of booleans indicating whether each key was deleted.\n\nEach key is deleted individually in parallel so that per-key success/failure information is preserved in the returned array.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\n\nawait store.set('key1', 'value1');\nawait store.set('key2', 'value2');\n\nconst results = await store.deleteMany(['key1', 'key2', 'key3']); // [true, true, false]\n```\n\n### clear\n\n`clear()` - Delete all keys in the current namespace.\n\n- Returns: `Promise<void>`\n\nOnly keys matching the current namespace are removed. If no namespace is set, all keys with an empty namespace are cleared.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store, namespace: 'my-namespace' });\n\nawait keyv.set('key1', 'value1');\nawait keyv.set('key2', 'value2');\n\nawait keyv.clear(); // removes all keys in 'my-namespace'\n```\n\n### iterator\n\n`iterator()` - Iterate over all key-value pairs in the store. The iterator uses the namespace configured on the instance.\n\n- Returns: `AsyncGenerator<[string, any]>` - An async generator yielding `[key, value]` pairs.\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store, namespace: 'ns' });\n\nawait keyv.set('key1', 'value1');\nawait keyv.set('key2', 'value2');\n\nfor await (const [key, value] of keyv.iterator()) {\n  console.log(key, value); // 'key1' 'value1', 'key2' 'value2'\n}\n```\n\n### disconnect\n\n`disconnect()` - Close the MongoDB connection.\n\n- Returns: `Promise<void>`\n\n```js\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store });\n\n// ... use the store ...\n\nawait keyv.disconnect();\n```\n\n### clearExpired\n\n`clearExpired()` - Remove all expired files from GridFS. This method only works in GridFS mode and is a no-op that returns `false` in standard mode.\n\n- Returns: `Promise<boolean>` - `true` if running in GridFS mode, `false` otherwise.\n\nThis is useful for manual cleanup of expired GridFS files, since GridFS does not support MongoDB TTL indexes.\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://localhost:27017', useGridFS: true });\n\nawait store.set('temp', 'data', Date.now() + 1000); // adapter takes an absolute expires (Unix ms); expires in ~1 second\n\n// After expiration...\nawait store.clearExpired(); // removes expired GridFS files\n```\n\n### clearUnusedFor\n\n`clearUnusedFor(seconds)` - Remove all GridFS files that have not been accessed for the specified duration. This method only works in GridFS mode and is a no-op that returns `false` in standard mode.\n\n- `seconds` *(number)* - The number of seconds of inactivity after which files should be removed.\n- Returns: `Promise<boolean>` - `true` if running in GridFS mode, `false` otherwise.\n\nThe `lastAccessed` timestamp is updated each time a file is read via `get`.\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://localhost:27017', useGridFS: true });\n\nawait store.set('foo', 'bar');\n\n// Remove files not accessed in the last hour\nawait store.clearUnusedFor(3600);\n```\n\n## Migration from v3 to v6\n\n`@keyv/mongo` is jumping from v3 to v6 because the entire Keyv monorepo is now unified under a single version number. This approach, similar to what other popular open source projects do, keeps all `@keyv/*` packages in sync and makes it easier to reason about compatibility across the ecosystem.\n\n### Breaking Changes\n\n#### MongoDB Driver Upgraded to v7\n\nThe `mongodb` dependency has been upgraded from `^6.x` to `^7.0.0`. Review the [MongoDB Node.js Driver v7 release notes](https://github.com/mongodb/node-mongodb-native/releases/tag/v7.0.0) for any breaking changes that may affect your application.\n\n#### Event Handling: EventEmitter Replaced with Hookified\n\n`KeyvMongo` no longer extends Node.js `EventEmitter`. It now extends `Hookified`, which provides hook-based event management.\n\n```js\n// v3 - EventEmitter\nconst store = new KeyvMongo('mongodb://localhost:27017');\nstore.on('error', err => console.error(err));\n\n// v6 - Hookified (same usage for basic events)\nconst store = new KeyvMongo('mongodb://localhost:27017');\nstore.on('error', err => console.error(err));\n```\n\nFor most use cases the `.on()` API is the same, but if you relied on EventEmitter-specific methods like `.listenerCount()`, `.rawListeners()`, or `.prependListener()`, check the [Hookified documentation](https://github.com/jaredwray/hookified) for equivalents.\n\n#### `useGridFS` is Now Read-Only\n\nThe `useGridFS` property can no longer be changed after construction. The connection shape differs between GridFS and standard modes, so this must be set at construction time.\n\n```js\n// v3 - Could change after instantiation\nconst store = new KeyvMongo('mongodb://localhost:27017');\nstore.useGridFS = true; // worked in v3\n\n// v6 - Must set at construction\nconst store = new KeyvMongo({ url: 'mongodb://localhost:27017', useGridFS: true });\nconsole.log(store.useGridFS); // true (read-only)\n```\n\n#### `ttlSupport` Property Removed\n\nThe `ttlSupport` property has been removed. If your code checks for TTL support on the adapter, remove those checks.\n\n#### `set` Takes an Absolute `expires`\n\nThe third argument of the adapter's `set` is now an absolute Unix timestamp in milliseconds, not a relative `ttl`. This only affects code that calls the adapter directly. `keyv.set(key, value, ttl)` still takes a relative `ttl`.\n\n```js\n// v3 - relative ttl\nawait store.set('foo', 'bar', 5000);\n\n// v6 - absolute expires\nawait store.set('foo', 'bar', Date.now() + 5000);\n```\n\n#### Namespaces Are Stored in Their Own Field\n\nv3 stored the namespace as a prefix of each key (`key: \"keyv:foo\"`) and wrote no namespace field. v6 stores it separately (`key: \"foo\"`, `namespace: \"keyv\"`) and only reads documents that have a `namespace` field, so documents written by v3 stay invisible to v6 until you [run the migration script](#running-the-migration-script).\n\nThe unique index on the underlying MongoDB collection has also changed from `{ key: 1 }` to `{ key: 1, namespace: 1 }`, so the same key can exist in different namespaces. The adapter drops the old index and creates the new one when it connects.\n\n#### Options Type is Now Strongly Typed\n\nThe constructor options no longer accept arbitrary keys via `[key: string]: unknown`. Options are now strictly typed with explicit properties. Any additional MongoDB driver options should be valid `MongoClientOptions` properties.\n\n```js\n// v3 - Accepted any properties\nconst store = new KeyvMongo({ url: 'mongodb://...', customProp: true }); // no type error\n\n// v6 - Strictly typed\nconst store = new KeyvMongo({ url: 'mongodb://...', collection: 'cache' }); // only known props + MongoClientOptions\n```\n\n### New Features\n\n#### `createKeyv` Helper Function\n\nA new `createKeyv` helper simplifies creating a Keyv instance with the MongoDB adapter.\n\n```js\nimport { createKeyv } from '@keyv/mongo';\n\n// Before\nconst store = new KeyvMongo('mongodb://localhost:27017');\nconst keyv = new Keyv({ store, namespace: 'my-ns' });\n\n// After\nconst keyv = createKeyv({ url: 'mongodb://localhost:27017', namespace: 'my-ns' });\n```\n\n#### `setMany` Method\n\nBatch set multiple key-value pairs in a single operation using MongoDB `bulkWrite`. Each entry takes an optional absolute `expires` timestamp (Unix ms).\n\n```js\nawait store.setMany([\n  { key: 'key1', value: 'value1' },\n  { key: 'key2', value: 'value2', expires: Date.now() + 5000 },\n]);\n```\n\n#### `hasMany` Method\n\nCheck if multiple keys exist in a single query using the `$in` operator.\n\n```js\nconst results = await store.hasMany(['key1', 'key2', 'key3']);\n// [true, true, false]\n```\n\n#### `clearExpired` Method\n\nManually remove expired files from GridFS storage.\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://localhost:27017', useGridFS: true });\nawait store.clearExpired();\n```\n\n#### `clearUnusedFor` Method\n\nRemove GridFS files that have not been accessed for a specified duration.\n\n```js\nconst store = new KeyvMongo({ url: 'mongodb://localhost:27017', useGridFS: true });\nawait store.clearUnusedFor(3600); // remove files unused for 1 hour\n```\n\n### Running the migration script\n\nIf you have documents written by `@keyv/mongo` v3, run the migration script so v6 can read them. The script ships in the npm package at `scripts/migrate-v6.ts`. Run it from your project root with `tsx`. Node.js refuses to strip TypeScript types from files under `node_modules`, so running the script with plain `node` from there fails with `ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`.\n\nPreview the changes first with `--dry-run`. Dry-run mode only counts and previews the documents that would change:\n\n```shell\nnpx tsx node_modules/@keyv/mongo/scripts/migrate-v6.ts --uri mongodb://user:pass@localhost:27017/dbname --dry-run\n```\n\nRun the migration:\n\n```shell\nnpx tsx node_modules/@keyv/mongo/scripts/migrate-v6.ts --uri mongodb://user:pass@localhost:27017/dbname\n```\n\nPass `--collection` if you set a custom collection, `--db` if the database is not in the URI, and `--gridfs` for a store created with `useGridFS: true`:\n\n```shell\nnpx tsx node_modules/@keyv/mongo/scripts/migrate-v6.ts --uri mongodb://user:pass@localhost:27017 --db cache --collection sessions\nnpx tsx node_modules/@keyv/mongo/scripts/migrate-v6.ts --uri mongodb://user:pass@localhost:27017/dbname --gridfs\n```\n\nFrom a clone of this repo you can run `node scripts/migrate-v6.ts` in `storage/mongo` with the same flags.\n\n**Important notes:**\n- The script only changes documents that have no `namespace` field, so it is safe to run again. Documents already in the v6 layout are never touched.\n- Keys are split on the first colon: the part before becomes the namespace, the rest becomes the key. A key without a colon gets the empty namespace v6 uses when none is set. Namespaces containing colons are not supported. The split is also wrong for colon-containing keys that Keyv v5 stored without a prefix, which happens only when it ran with `useKeyPrefix: false` or an empty namespace.\n- Keyv v5 used `keyv` as the namespace when none was set, so those documents migrate into namespace `keyv`. Pass `namespace: 'keyv'` to Keyv afterwards to keep reading them. See the [v5 to v6 migration guide](https://keyv.org/docs/migration/v5-to-v6/#the-default-keyv-namespace-was-removed).\n- In standard mode the script first replaces the unique index on `key` with the unique index on `{ key, namespace }`, the same change the adapter makes when it connects.\n- If v6 already stores a value under the same key and namespace, that value was written after the upgrade and is kept. The v3 document is left unchanged and listed in the output.\n- In GridFS mode, v3 kept every revision of a file and read the newest. The script migrates only the newest revision of each key and lists the older ones, which v6 cannot read.\n- The rewrite is not transactional. If it stops part way, documents already migrated keep their new layout, so run the script again to finish.\n\n## License\n\n[MIT © Jared Wray](LICENSE)\n","readmeFilename":""}