{"_id":"@1mill/mongo","_rev":"13-13455f25f52071205e4da4ee523e2297","name":"@1mill/mongo","dist-tags":{"latest":"0.3.4"},"versions":{"0.0.1":{"name":"@1mill/mongo","version":"0.0.1","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && microbundle --entry ./src/*.js","deploy":"npm run build && npm publish","dev":"microbundle watch"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.13.3"},"dependencies":{"mongodb":"^4.1.2"},"gitHead":"f037172e6f7cfbd33e72d69f34d101ab29590110","_id":"@1mill/mongo@0.0.1","_nodeVersion":"9.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zu8QqLtLYbJFXVOYNXlEPc8AIMzSyRG6VI//quuDGyblsKmYi5DaSpy0ylVNCqdk9b3n5PEvNRc49cRv2OfQjA==","shasum":"46a51131b5402899d3c58ac44da9bb1613b04cca","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.0.1.tgz","fileCount":13,"unpackedSize":4101,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1lqGSGM9fuqe4oOyIU9v0HTSUMWFQsHekJESqAjhCvAiAVfvAfMHzbeJ5p8G545jOcbN0+Z2jRVYK+ypOEYZGWCQ=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.0.1_1633038369847_0.9077727051675784"},"_hasShrinkwrap":false},"0.0.2":{"name":"@1mill/mongo","version":"0.0.2","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && microbundle --entry ./src/*.js","deploy":"npm run build && npm publish","dev":"microbundle watch"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.13.3"},"dependencies":{"mongodb":"^4.1.2"},"gitHead":"d86e7f443638de263929ed13f977598c2c43e40c","_id":"@1mill/mongo@0.0.2","_nodeVersion":"9.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-rE3l+ssXiNj7azL3w8z/k2m5++7blBhwy8ipY5KwUps6qFp1Q+N3hdQROw62LUuZrUKlGAJI73lcnebMgZ3FXg==","shasum":"7639c359a793b1e4e1912843cad5b5ea32ce06b2","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.0.2.tgz","fileCount":21,"unpackedSize":15816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECLdDLZHl4SQorSq0EpTMRi7LV/y6xCBmz1IFhDXndqAiB283cZjSpWw41f+DmGHJcYGsSTOtAHuPrPCnGoPAJwbg=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.0.2_1633038397461_0.43237959471335885"},"_hasShrinkwrap":false},"0.0.3":{"name":"@1mill/mongo","version":"0.0.3","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && microbundle --entry ./src/*.js","deploy":"npm run build && npm publish","dev":"microbundle watch"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.13.3"},"dependencies":{"mongodb":"^4.1.2"},"gitHead":"839c2b9a326a851151ad25a25ae6736a8d749a09","_id":"@1mill/mongo@0.0.3","_nodeVersion":"9.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qWKagPPL5k27FS59wdrYdrWkfv+MQFVUvEBHzJfZchlVhoJVIL8VABj6llyorFhxEk8csgfxf5tBFeKPm2qTrQ==","shasum":"c43a34daa68a0610906344c6acb71981901e5996","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.0.3.tgz","fileCount":21,"unpackedSize":16967,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBM5ycW6g/fwT0CacGH1AbLAcaK0IUlpqmm5vEbnahfAiEArwlY5Q80A4uo3J9yYrP5f8UXEzKP/IJzUCcNQNhFAAg="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.0.3_1633038952628_0.39844321141152017"},"_hasShrinkwrap":false},"0.0.4":{"name":"@1mill/mongo","version":"0.0.4","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && microbundle","deploy":"npm run build && npm publish","dev":"microbundle watch"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.13.3"},"dependencies":{"mongodb":"^4.1.2"},"gitHead":"2c8e0d261790bd09ad8ea5729df61870627ac176","_id":"@1mill/mongo@0.0.4","_nodeVersion":"9.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-SFsrsBQTUd++EQmScqzXseKx9GOW0w4NaOFB45oeFti3tuE3Yk5Fh9NLXYKKnMi+IRMc/nC70MmdJmXEu5WEEg==","shasum":"f5b29a07ab2599abe0363937db95344f42d9c58f","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.0.4.tgz","fileCount":13,"unpackedSize":15380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue9OCRA9TVsSAnZWagAAnS4QAIbeDdNb/7srk4JSzNbb\nUi5nizyh9QuvvWSyyy9hWILRGBvfStMaCQPNEwABlUpbSl9GWgJBOkOoe5FH\nb7aOJ5Zs5IkXUoHVHpxTmIEnFbAe8zqzAeNvSNuHrbWrPQZzcUgIrEuRzcJZ\nvVALhaONkH0M0xVWkFItsE7CocBnPA3vTnqig0OGOAH7pdIjDncGCo9N5LYA\njBFwmLzJY/vKCyh2z/B7GBES0BD3Vxy1p/yM3hhdYwXcwuBjqTnSq9x/PIgC\nOUQJyo5v1qoEVmNNWjtRZHssO2uiKstQViv/Vg82b2kCBjyG4RiIJUxW6+rm\nQPSA+gkVu2uzxsMjmAbqxn5q3alYIzU96mCOf9jtaYrvR2pcNYASIbLqSL/V\n1FWLCaEOvx8OmzWRbkEHPEpLOG2bqgaT2iaPpMbcsOlCTsIdAUcE+Mlx+bcy\nC8vwhQOQm+PSMocg0L9pqQujtYOaWLcxcBjmt7WdOnsaco5bIBsokCTj5Oeq\n7SKKqxpyBQEUfhVnAc9NR+ciETfRR360WljqSoMAu6mYyc9FYRu9tezbzXEC\nJlOssQQCYGmEF8MPUqFy/3qV2bmWMNGqlGP4WHU3nK6Kh2gxSD9m4fEeKr76\nLP9IkDDu+iJ9qsUrizVdhnhInd3ELpRNxe5zOGvfX40ua1+fHl9q0fnovbMg\npmoI\r\n=MQzd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFDVfYw1N++tY7NBsK/5DaoZW8asWuwnEadSL+C5lfBJAiBr4A/Id0AmiJhk2HFe3omPsfjCASYD1g+VbnWgMjSo0w=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.0.4_1633720850416_0.43376044355390797"},"_hasShrinkwrap":false},"0.0.5":{"name":"@1mill/mongo","version":"0.0.5","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && microbundle","deploy":"npm run build && npm publish","dev":"microbundle watch"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.13.3"},"dependencies":{"mongodb":"^4.2.2"},"gitHead":"ba934f5b6734763f2a5fa0d39adbc0e547fb09a5","_id":"@1mill/mongo@0.0.5","_nodeVersion":"9.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ZZlXUVQCtTK96ScO54lX87n+ga6jfL1DmxSX4AI4eawh8am9vVY4o9i3x2iFpXubkKeUGRlO3x0zw5KRcNpg4A==","shasum":"61c66ab42132480c6bd25ed0c0a62770110f41f1","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.0.5.tgz","fileCount":13,"unpackedSize":16816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxfWuCRA9TVsSAnZWagAA/7IP/iEW5EZ4+HDOW3IOOesV\niRZLhSXcoWl+4Ds7v5tEk4qnW/YGWeDD6KDvMObFX9pwpQjVATktxnChD4mu\nXPvpKOjOFdnh5zG9tOxNrJRl0uYsUyLX11+OWy+NBLlqb3AIDkVQc8l4aDAX\nG5Wt7+2CmNTwHH/UdeCp979jjMeC7xa2jcFAif3vMALqCa00yVBJCn7tImHX\n9OxNV9Iwe9/IVe2bqKcSxu86qTt8ejgXTZiYKRLiwjSmtXovL4CpUmBpqZEt\nVMyOYf3L6GCTAgIcMGVKRPzZFRj7ch5Al3fEZz+GMEMXsovLQpSRh9DPMj7d\nW1YT2AQnHq1GIQaQiZ1UTq8mLSpnFQmorq+BsTf10UQhV/MOmhzXJ9P7QFeT\n1iKj8p0Uw38N27PdExIcNM4RlC4/YCF/pbmtrZdRPTFkJSnd4uxsQMsl1KxK\nLJKCLoTaXukIEnd/erKTPrQLXpggmwd90EyYYeo6WN/TaZ1NKlKHc97cTEQ1\nYnT5MTItuoQ3SvMd8Y9uJ7jJwmT+StgwJj9Qgv+3DFiVR0j0iSXbTm7cbpMA\nl5G/CNPwMZom1Mwk4i+TIy4WuqnfNDTXRnOJJUUDbX6t9JjFS+5oBEswCnro\nRArRVVougPjWMOIHCzhp7Jsa149lVbXjyTlQ28EWdm07ttm6AL4Cn9kMkSXT\nRhLs\r\n=M786\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMDWUgWScmWQobVHKDn8VuG92OmUBjBC9EGjDMlpIx/AiEA3v4k/thil9GoY1QFY0KPZRO/cAPds+KQMLotVH36W/M="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.0.5_1640363438000_0.8108686046268407"},"_hasShrinkwrap":false},"0.1.0":{"name":"@1mill/mongo","version":"0.1.0","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^4.2.2"},"gitHead":"f7f103682432ef5fc68a1ecff151a15b7bc081c7","_id":"@1mill/mongo@0.1.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-sDk6H/wotYQXG9UMlnEpWSCuy9Z4YimsuPOwm2beMQE/KAB5J6qdEOzeJps+u/GxZJKFsKhohiNQtA+LNrvUqg==","shasum":"978f6e6136d1e3672ecfb5bd58a58808ab1bdfdb","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.1.0.tgz","fileCount":13,"unpackedSize":17048,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+6Rr57Cje3kMDnWEgM5fabOgMN8y59wdi2Pa8zQOrVAiBDJiCAGhOK4SEF3JfxLBpXnsgz7Fxp+Sx/WpqRYssY6w=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.1.0_1694831235890_0.06373276237436554"},"_hasShrinkwrap":false},"0.2.0":{"name":"@1mill/mongo","version":"0.2.0","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"9623c77e1492252b34de8e500d4ee47ff6122703","_id":"@1mill/mongo@0.2.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-nT5MH7TyjloqpfjWXdkGo8ZrHd9vRMWjVgWIpcObwATObj8foyNWUHQq8FEBN8REM2+gx37FG2FYlmmNxpgWCA==","shasum":"8332bce8a161becd491fa0d4ed68af2585b6fcf3","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.2.0.tgz","fileCount":13,"unpackedSize":17048,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGduFEeiHyBR7QF+mV6Rt+b06SQUcsIUMoIjOUGyLDH9AiEA1awKYxLb2PKxUz8bDG1tfhWJgP4fDEBP5nZTFp7LaBc="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.2.0_1694831462255_0.7793155741246298"},"_hasShrinkwrap":false},"0.3.0":{"name":"@1mill/mongo","version":"0.3.0","description":"Cache MongoDB connections across AWS Lambda invokations","source":"src/index.js","type":"module","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"65d89ccb226542a85944e6101931d95d8e0cf7b1","_id":"@1mill/mongo@0.3.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-v7Oc4cRGotZPYijH00Nv+LS34IA27XAl8EFiIw0357TEAvntUajDuwTISQMyW1cMt1Rsx/d2yhippoZcCug2+w==","shasum":"17d16ab8abfe4dbd7c796e3243e940c97dfd5ee2","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.3.0.tgz","fileCount":13,"unpackedSize":5331567,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcqIGjEzl8j/X9lAEMr8p4+a4mIQYmrPjXFDGFd1nFSAiEAotqFWCDDrbql0O6XBhQEyotIqYL4aIlUXg9xeGWs3cE="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.3.0_1694832012749_0.5392473590912668"},"_hasShrinkwrap":false},"0.3.1":{"name":"@1mill/mongo","version":"0.3.1","description":"Reuse MongoDB connections between AWS Lambda invocations.","source":"src/index.js","type":"module","jsnext:main":"dist/index.module.js","main":"dist/index.js","module":"dist/index.module.js","umd:main":"dist/index.umd.js","scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"b8588fcf5357b47cf437d2797090af248ecb7869","_id":"@1mill/mongo@0.3.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-9kkw8RMaPeBGordQwap5XsyOUbsyfR+b+7srcJyy91rVPvXYXoqb5eN7TX2nabyzNXUbQqw+of7OitrllDf+/g==","shasum":"157fcfcf009f09cf1fd4f185bc11c8664d103838","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.3.1.tgz","fileCount":13,"unpackedSize":5331569,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEipoS1Z1Z0I+8NRZ1fqA1kXFPNxalxb1g3fVqS33BUiAiEAmO4FkM6y5gPkYRwiBtaST0rMCO9wcHv+7oe3xibuhOw="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.3.1_1694832131135_0.2366915066742452"},"_hasShrinkwrap":false},"0.3.2":{"name":"@1mill/mongo","version":"0.3.2","description":"Reuse MongoDB connections between AWS Lambda invocations.","source":"src/index.js","type":"module","main":"./dist/index.cjs","module":"./dist/index.module.js","unpkg":"./dist/index.umd.js","exports":{"require":"./dist/index.cjs","default":"./dist/index.modern.js"},"scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"3bc7059221c3d09a18c6d2521488e216577bd88d","_id":"@1mill/mongo@0.3.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+Xj9uuuBJJ0hPPeV4PDqSgUCvmaXbaZo5n29EMkskZ5IsXqO1oiElJ/baX8yQ/CgHpuubn7WNTDi8v2hLjcY+Q==","shasum":"c36558d308c5b2dab4c659de6b7c9a74af3aa625","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.3.2.tgz","fileCount":13,"unpackedSize":5331630,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+6MT7JFtqKN4slanq07yIR4sKYCQ+lXplLrViLbKS9wIhANMEf8oakkjvFlMH+CCi6vBLPF5jjUL/pZ4V3Rf/Lw6S"}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.3.2_1694833086868_0.9709409376151028"},"_hasShrinkwrap":false},"0.3.3":{"name":"@1mill/mongo","version":"0.3.3","description":"Reuse MongoDB connections between AWS Lambda invocations.","source":"src/index.js","type":"module","main":"./dist/index.cjs","module":"./dist/index.module.js","unpkg":"./dist/index.umd.js","exports":{"default":"./dist/index.modern.js","import":"./dist/index.module.js","require":"./dist/index.cjs"},"scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"0a29e1090967bd689e76a4a53cf92781078d3d1c","_id":"@1mill/mongo@0.3.3","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Jd88XsBaWBgY34N/x2dQkfBxbuni3FJgfW/ZUqgaAoGrAiEGYk0hTy7Zha5rlZB0Wdt2rozwyLBsnEri/97I/w==","shasum":"ee7dc7cac82c38086c837dd8a76092d0d2d540a9","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.3.3.tgz","fileCount":11,"unpackedSize":2672864,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnwnWHVMJmlVFucS+bH87jlaUQysimDMbrTqmQYVq1lAiANRRLm8WRDAQm8Q/gbS/O00V0uGz5DK/2LsueG7ImNcQ=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.3.3_1694833982562_0.4016339790755783"},"_hasShrinkwrap":false},"0.3.4":{"name":"@1mill/mongo","version":"0.3.4","description":"Reuse MongoDB connections between AWS Lambda invocations.","source":"src/index.js","type":"module","main":"./dist/index.cjs","module":"./dist/index.module.js","unpkg":"./dist/index.umd.js","scripts":{"build":"rm -rf ./dist && npm run build:browser && npm run build:node","build:browser":"microbundle --format modern,umd --external none","build:node":"microbundle --format cjs,esm","deploy":"npm run build && npm publish","dev":"microbundle watch","test":"node ./src/unit.test.js"},"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"keywords":["mongodb","lambda"],"authors":["Erik Ekberg <nightw0lf@hotmail.com>"],"license":"MIT","bugs":{"url":"https://github.com/1mill/mongo/issues"},"homepage":"https://github.com/1mill/mongo#readme","devDependencies":{"microbundle":"^0.15.1"},"dependencies":{"mongodb":"^6.1.0"},"gitHead":"9f7a7c8d7d746c8c639651aa9612d626fb724930","_id":"@1mill/mongo@0.3.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-7t8OSjrfXqfBUL0WJ1/weHiSw2xDvXFJ9ZOvU/vWtyuYHw0fci6cyBk6rAcLcaRRUSwK5NruhWLNxQop8jTcXQ==","shasum":"eb4a1c972817485c9dc6bb01a987959a8d5d7341","tarball":"https://registry.npmjs.org/@1mill/mongo/-/mongo-0.3.4.tgz","fileCount":13,"unpackedSize":5331676,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEq0W/DGHRap7Z0Zq60OPZNkxLHmOJ0ak9UknWVV/gliAiAysFxH5H1YxDTi7GcpImPxTKfq15ALjpYm72ZIk56Rcg=="}]},"_npmUser":{"name":"1mill","email":"nightw0lf@hotmail.com"},"directories":{},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongo_0.3.4_1694883654454_0.9055666472008876"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-30T21:46:09.779Z","0.0.1":"2021-09-30T21:46:09.998Z","modified":"2023-09-16T17:00:54.914Z","0.0.2":"2021-09-30T21:46:37.583Z","0.0.3":"2021-09-30T21:55:52.764Z","0.0.4":"2021-10-08T19:20:50.572Z","0.0.5":"2021-12-24T16:30:38.158Z","0.1.0":"2023-09-16T02:27:16.068Z","0.2.0":"2023-09-16T02:31:02.495Z","0.3.0":"2023-09-16T02:40:13.043Z","0.3.1":"2023-09-16T02:42:11.411Z","0.3.2":"2023-09-16T02:58:07.138Z","0.3.3":"2023-09-16T03:13:02.853Z","0.3.4":"2023-09-16T17:00:54.707Z"},"maintainers":[{"name":"1mill","email":"nightw0lf@hotmail.com"}],"description":"Reuse MongoDB connections between AWS Lambda invocations.","homepage":"https://github.com/1mill/mongo#readme","keywords":["mongodb","lambda"],"repository":{"type":"git","url":"git+https://github.com/1mill/mongo.git"},"bugs":{"url":"https://github.com/1mill/mongo/issues"},"license":"MIT","readme":"# @1mill/mongo\r\n\r\nReuse MongoDB connections between AWS Lambda invocations.\r\n\r\n## Getting started\r\n\r\n```bash\r\nnpm install @1mill/mongo\r\n```\r\n\r\n```node\r\nconst { Mongo } = require('@1mill/mongo')\r\n\r\nconst mongo = new Mongo({\r\n  db: 'my-database-name',\r\n  uri: 'mongodb://my-username:my-password@my-mong-host-name:27017/my-database-name',\r\n})\r\n\r\nexports.handler = async (cloudevent = {}, ctx = {}) {\r\n  ctx.callbackWaitsForEmptyEventLoop = false\r\n\r\n  const { db } = await mongo.connect()\r\n\r\n  const collection = db.collection('my-collection-name')\r\n  await collection.createIndex({ something: 1 })\r\n  await collection.insertOne({ something: 'yes' })\r\n}\r\n```\r\n\r\n| Name    | Required | Default                    | Notes                                                         |\r\n|---------|----------|----------------------------|---------------------------------------------------------------|\r\n| db      |          | process.env.MILL_MONGO_DB  |                                                               |\r\n| options |          | {}                         | `useNewUrlParser` and `useUnifiedTopology` enabled by default |\r\n| uri     | yes      | process.env.MILL_MONGO_URI |                                                               |\r\n\r\n## Deploying\r\n\r\n1. Commit changes\r\n1. Run `npm version (major|minor|patch)`\r\n1. Run `git push`\r\n1. Run `npm run deploy`\r\n","readmeFilename":"README.md"}