{"_id":"@cameronct/mongo-odm","_rev":"10-76fa10345df65a43f2cc507610963d65","name":"@cameronct/mongo-odm","dist-tags":{"latest":"0.1.92"},"versions":{"0.1.6":{"name":"@cameronct/mongo-odm","version":"0.1.6","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.6","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://github.com/CameronCT/Mongo-ODM#readme","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"d1e23747dd4356dec8417dea1607ae67fb8e9ce5","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.6.tgz","fileCount":8,"integrity":"sha512-dFcXgFMTeNipxl+pfNhpULNwuUjcxCC1pftqhrxqPVHfrPvReIGQy/E2ehEjrXnao/zRpwhYrg5ce+LdRd2qhg==","signatures":[{"sig":"MEUCIQCmxLs2sXKMldlKKXmEvoIbqOmpx5uIi2ISIqw8ngzssQIgHg9Hhblrhvdyh5pYqmaOHeM8JvDgTwxEE9YxnHI6pFw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7733170},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"2d7f1da8339ca865e64f98ff13d6bf865bda0062","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)\r ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)\r ![MongoDB](https://img.shields.io/badge/MongoDB-%","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","prettier":"^3.1.0","typescript":"^5.2.2","@types/node":"^20.9.0","better-docs":"^2.7.2","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.6_1700341197943_0.4878541864255954","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@cameronct/mongo-odm","version":"0.1.7","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.7","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://github.com/CameronCT/Mongo-ODM#readme","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"300fe4e479ee2e409143fb95f1bd9900a1283233","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.7.tgz","fileCount":8,"integrity":"sha512-Z8em7UmlOIwKb24nEkVbACEtZ64yYPMKBSObgrrTpqHLMxH6RZQDwuWqRdL6cgew5hUpUe7nTboeYPFpN6aZOQ==","signatures":[{"sig":"MEYCIQC/+DfKCuyObwBLeSoSSHtpsN1/G0hk1FUVS5j/Ry+hbQIhAIha1ECJAvSKxn5j58htUk43w9ULqgffUFt3mxhJOZCG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7791186},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"6b2867a435a76612bc496f11666418cad9d70175","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)\r ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge&logo=node.js&logoColor=white)\r ![MongoDB](https://img.shields.io/badge/MongoDB-%","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","prettier":"^3.1.0","typescript":"^5.2.2","@types/node":"^20.9.0","better-docs":"^2.7.2","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.7_1700345652756_0.8445542047185823","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@cameronct/mongo-odm","version":"0.1.8","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.8","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"d38d8c52faf45c472054d9147c29d03e1d0bfaa9","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.8.tgz","fileCount":9,"integrity":"sha512-zZTqpwsmssQETMcUMTCM8jGFio0/jJBJOogFDAQgWERhJ9Qd055klUS2KET3hMBjUMmcj2RnCJSVRe3wqMUCbQ==","signatures":[{"sig":"MEUCIEHQQYprjLfKNRV+b/THGy/vcaICiCMiPfAL2bFl8RPJAiEAiztYOMj9AJOphriS9k/WjwwXDHmd4ArITspVXm+WnMw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7819415},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"18054256e27869c05621a0973c21f815c7674a59","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.8_1700365509995_0.7719748572052194","host":"s3://npm-registry-packages"}},"0.1.81":{"name":"@cameronct/mongo-odm","version":"0.1.81","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.81","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"37a208dc13408ab7f76f0ec86b72f161532c8322","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.81.tgz","fileCount":9,"integrity":"sha512-uuFynXz/td13VMrEne/pPGr7h+jzFJT7r3oSNY5JlCnn2VvdGILjqW5qdgZ8vdoLJTo4V+4hhfiP36k99uVe+g==","signatures":[{"sig":"MEYCIQDGF9W61f3lfoOCss7RbLu2xZ1RSmuwkyUOYhdAg47TTQIhAJtdeijimc8gYMGy0Wap0Nj83jsjfqQubDcKVcxCBLV/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7822370},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"165c8154ee3a5e0067c008abaca168f5afd202f5","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.81_1703575560633_0.40664872701713684","host":"s3://npm-registry-packages"}},"0.1.82":{"name":"@cameronct/mongo-odm","version":"0.1.82","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.82","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"9f483832a18aed1ef76a1fe3480109cd79e84bad","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.82.tgz","fileCount":9,"integrity":"sha512-fH3zekKRk5N9didtW98caW51jRydLr3TxrhEjQi6qwd62kCDn9h5pE9Xfa2fNZFhwTPy8IDBGpSkMsVuYRPGxw==","signatures":[{"sig":"MEUCIQCtDsnT7n24RaHvJ+1PiP4NRy7P2vVm9KU2MjHi9Ze82gIgTHT4NCnFzONBMnGqwTjiCLUSi0q65HM3jfvpLUNmLNQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7822668},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"a76fa063e901adc16315493cd705bd5ea7613af3","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.82_1703578340102_0.38840338973362076","host":"s3://npm-registry-packages"}},"0.1.83":{"name":"@cameronct/mongo-odm","version":"0.1.83","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.83","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"eedf4388729b46bae709d59c298ff7811d0ac628","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.83.tgz","fileCount":9,"integrity":"sha512-HqEIrfg2Z9pu8ZmtBxFbYs2NnCrTpvxcC9INoYm4tOPHT4kZTdZL+skaWLj7BOUMdmWgjAhZpZUR5qVKCuIUmw==","signatures":[{"sig":"MEUCIBYvWZZvL9vKxGHASxrsPEDuDxtPKPSpRXYjhjyGk7b+AiEAojEjgZKWTq1Qa4BYrQm/uPrHnhwUb4JUEsD1rED33B0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7822460},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"e9f4adecf4200290f1eaca5f02894e96fd48890f","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.83_1703612973562_0.9300188172568491","host":"s3://npm-registry-packages"}},"0.1.84":{"name":"@cameronct/mongo-odm","version":"0.1.84","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.84","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"4cc05a6bf4d1b093160b785a116a5bd04aafc271","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.84.tgz","fileCount":9,"integrity":"sha512-TYiyUKVcyAhZ44na2j7ZWl8s5/GpPQ7RFGVYqdgaRy3HW769Fyb1Z1Yn7cCXPSUvIjZsm0PP5SQssNtWtleX+Q==","signatures":[{"sig":"MEUCIQD+2fKQb1ZhvyN0Amz/eRM7nMIuiEKbHwrJ+z7UaBGjOAIgdOQZF3MMWrKDL7Jb/zvnHfFMssQ/G2HdvYi5BQCMqzY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7826289},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"a8aeb12bc7bf4787f89c77081880201d36e9f4db","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.84_1704781837053_0.46386300771051725","host":"s3://npm-registry-packages"}},"0.1.85":{"name":"@cameronct/mongo-odm","version":"0.1.85","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.85","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"4f103f210c895f71cc0fb576d0a8f4dffa3a6e15","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.85.tgz","fileCount":9,"integrity":"sha512-xQTscUZo2uq78P8wbs0GN/H5lgJxY/dbelhmJ9JbRuiT9uE7bFiYgdBYBlebsloVdCtsBAUUtlh2HM1Wy5U+lw==","signatures":[{"sig":"MEYCIQD5NuDoI2vrJcs44pcUHXNkxdmjaecKbCE8sqxKj8F5BQIhAMMYwWKn2XOQ5g0EfkdH9wQsz0TuKHN0UC8+pDaiMAM0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7824516},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"5d906aea9ad6636406fa6c1b4ba0b529e8c8fc9b","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.85_1704785590758_0.1158840007537758","host":"s3://npm-registry-packages"}},"0.1.90":{"name":"@cameronct/mongo-odm","version":"0.1.90","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.90","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"dfd784bef5a60dd9f5a5037e5852141ff703880b","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.90.tgz","fileCount":9,"integrity":"sha512-Tnc8DvCgAS+wamVIHnpEKjI4+lWJPtNbM0a88RXw1bvhSV5LtU/g2BcBvkJbUTbaapbuI7aahE2ct8b9Wvun0g==","signatures":[{"sig":"MEYCIQCv8ePpJbF55RVKdSw8rb8bd4penqs6vS3dr4gKt6N0awIhALRquEBsz69eCGjawEie1ki3WKc+V0F3Gd25YOUOsSWG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7885597},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"8685f9c6ecb3ae777829bea0a12a557e65e762c0","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.90_1720503051283_0.09066840093666984","host":"s3://npm-registry-packages"}},"0.1.91":{"name":"@cameronct/mongo-odm","version":"0.1.91","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","_id":"@cameronct/mongo-odm@0.1.91","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"homepage":"https://cameronct.github.io/Mongo-ODM","bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"dist":{"shasum":"47dc4efc965541e4154800eec696d149fbbe0f5f","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.91.tgz","fileCount":9,"integrity":"sha512-Gf4+wW1hAia9Gx4LaAwqbkQS++x3/7yNpt+55e7Mhmef1Hli3F7RjI29EoqEcYcn99Tq0co9SjPOTRRgiX5iiA==","signatures":[{"sig":"MEYCIQDjIJaFUKiKLdXvteTEBMPxSoW4PW3Z4GkTPLtLZvnkqgIhAOXuAnIYabvv5YsJmmcB0yj/GSfN1fofOCTS4rJ5hlLy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7828211},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16.20.1"},"gitHead":"f77c01cffa964bc745df7cf14e03f6646a454038","scripts":{"docs":"jsdoc -c jsdoc.conf.json","lint":"eslint . --ext .ts","test":"jest --coverage --forceExit","build":"tsup","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","publish:public":"npm publish --access public"},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"repository":{"url":"git+https://github.com/CameronCT/Mongo-ODM.git","type":"git"},"_npmVersion":"9.8.1","description":"A very basic MongoDB ODM for Node.js","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","jsdoc":"^4.0.2","eslint":"^8.53.0","mongodb":"^6.2.0","ts-jest":"^29.1.1","prettier":"^3.1.0","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/node":"^20.9.0","better-docs":"^2.7.2","jest-partial":"^1.0.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-odm_0.1.91_1724203323268_0.9421844811390798","host":"s3://npm-registry-packages"}},"0.1.92":{"name":"@cameronct/mongo-odm","version":"0.1.92","description":"A very basic MongoDB ODM for Node.js","homepage":"https://cameronct.github.io/Mongo-ODM","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup","publish:public":"npm publish --access public","prettier":"prettier --config .prettierrc './src/**/*.{ts,tsx}' './test/**/*.{ts,tsx}' --write","lint":"eslint . --ext .ts","docs":"jsdoc -c jsdoc.conf.json","test":"jest --coverage --forceExit"},"keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"repository":{"type":"git","url":"git+https://github.com/CameronCT/Mongo-ODM.git"},"bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org"},"devDependencies":{"@types/jest":"^29.5.8","@types/node":"^20.9.0","@typescript-eslint/eslint-plugin":"^6.11.0","@typescript-eslint/parser":"^6.11.0","better-docs":"^2.7.2","eslint":"^8.53.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","jest-partial":"^1.0.1","jsdoc":"^4.0.2","mongodb":"^6.2.0","prettier":"^3.1.0","ts-jest":"^29.1.1","tsup":"^7.2.0","typescript":"^5.2.2"},"engines":{"node":">=16.20.1"},"_id":"@cameronct/mongo-odm@0.1.92","gitHead":"4d78b274b0480d314c56c3d54c6c3e338f55a1d7","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2RujY6Ac+mRYqio6SH62bmWjdXH7TDtu+G7dI9YJ/1vkfT7JNAsRGVGrlofL9bhYtuK2+7LsbYirCQ2Tl664hg==","shasum":"1c4361375093f6b3c79962c52036ccdbc4307f7b","tarball":"https://registry.npmjs.org/@cameronct/mongo-odm/-/mongo-odm-0.1.92.tgz","fileCount":9,"unpackedSize":7833499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/0AndCJBTidEpF2Uo2OIhertk4kWEw6KVyvANPuB7HwIgREKKt0LuVyjZY7GXwl/JqVq0L4Q3sI0+65d1e2DwDOY="}]},"_npmUser":{"name":"cameronct","email":"contact@cameronct.com"},"directories":{},"maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongo-odm_0.1.92_1736096860833_0.9287940051855332"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-18T20:59:57.818Z","modified":"2025-01-05T17:07:41.302Z","0.1.6":"2023-11-18T20:59:58.222Z","0.1.7":"2023-11-18T22:14:13.098Z","0.1.8":"2023-11-19T03:45:10.268Z","0.1.81":"2023-12-26T07:26:00.858Z","0.1.82":"2023-12-26T08:12:20.380Z","0.1.83":"2023-12-26T17:49:33.792Z","0.1.84":"2024-01-09T06:30:37.306Z","0.1.85":"2024-01-09T07:33:10.962Z","0.1.90":"2024-07-09T05:30:51.540Z","0.1.91":"2024-08-21T01:22:03.603Z","0.1.92":"2025-01-05T17:07:41.115Z"},"bugs":{"url":"https://github.com/CameronCT/Mongo-ODM/issues"},"author":{"name":"CameronCT","email":"contact@cameronct.com"},"license":"MIT","homepage":"https://cameronct.github.io/Mongo-ODM","keywords":["mongo","mongodb","orm","odm","object document mapping","object relational mapping"],"repository":{"type":"git","url":"git+https://github.com/CameronCT/Mongo-ODM.git"},"description":"A very basic MongoDB ODM for Node.js","maintainers":[{"name":"cameronct","email":"contact@cameronct.com"}],"readme":"<p align=\"center\" style=\"text-align: center\">\r\n    <img src=\"https://i.imgur.com/0Mldh0I.png\" />\r\n</p>\r\n<p align=\"center\">\r\n    <a href=\"https://github.com/CameronCT\" alt=\"Author\">\r\n        <img src=\"https://img.shields.io/badge/GitHub-CameronCT-181717.svg?style=flat&logo=github\" /></a>\r\n    <a href=\"https://codecov.io/github/CameronCT/Mongo-ODM\" alt=\"MongoDB\">\r\n        <img src=\"https://img.shields.io/codecov/c/github/CameronCT/Mongo-ODM\" /></a>\r\n    <a href=\"https://codecov.io/github/CameronCT/Mongo-ODM\" alt=\"MongoDB\">\r\n        <img src=\"https://img.shields.io/github/issues/CameronCT/Mongo-ODM\" /></a>\r\n    <img src=\"https://img.shields.io/github/license/CameronCT/Mongo-ODM\" />\r\n</p>\r\n\r\nAn insanely basic implementation of some form of Object Document Mapping (not ORM) for MongoDB. This was not really made to be used as a widely available package, it does not contain severely insane levels of logging. \r\n\r\n## Getting Started\r\n\r\nTo get started you must install the package via your dependency manager (you can use yarn as well)\r\n\r\n`npm install @cameronct/mongo-odm`\r\n\r\n### Initiating the Connection\r\n\r\n```js\r\nimport MongoODM from \"@cameronct/mongo-odm\";\r\n\r\n// Basic\r\nawait MongoODM.connect();\r\n\r\n// With Connection URI\r\nawait MongoODM.connect(\"mongodb://localhost:27017/my-app\");\r\n\r\n// With Custom Models Folder\r\nawait MongoODM.connect(\"mongodb://localhost:27017/my-app\", path.join(__dirname, \"path/to/models\"));\r\n```\r\n\r\n### Creating a Model\r\n\r\nHere is an example Model that can be found in `/models/User.js`\r\n```js\r\nimport MongoODM from \"@cameronct/mongo-odm\";\r\n\r\nconst User = new MongoODM.Model(\"users\", [\r\n    { name: \"name\", type: MongoODM.FieldTypes.String, required: true },\r\n    { name: \"email\", type: MongoODM.FieldTypes.String, required: true },\r\n    { name: \"password\", type: MongoODM.FieldTypes.String, required: true },\r\n    { name: \"type\", type: MongoODM.FieldTypes.String, default: \"basic\" },\r\n], [ \r\n    { name: \"uniqueEmail\", fields: { email: \"text\" } },\r\n])\r\n```\r\n\r\n### Using a Model\r\n\r\nSome examples, most native functionality from MongoDB will work here.\r\n```js\r\nimport User from \"./models/User\";\r\n\r\nawait User.count({ email: \"@example.com\" });\r\nawait User.findOne({ email: \"@example.com\" });\r\nawait User.findOneOrCreate({ email: \"@example.com\" }, { name: \"test\", email: \"@example.com\" });\r\nawait User.findOneAndUpdate({ email: \"@example.com\" }, { name: \"test\", email: \"new@example.com\" }, \"$set\");\r\nawait User.insertOne({ name: \"test\", email: \"@example.com\" });\r\nawait User.updateOne({ email: \"@example.com\" }, { name: \"test\", email: \"new@example.com\" }, \"$set\");\r\nawait User.removeOne({ email: \"@example.com\" });\r\n```\r\n\r\n### Using QueryBuilder\r\n\r\nThis is **not** a recommend way of doing my library, as you're essentially doing the same thing as using the native MongoDB driver. However, you can use the QueryBuilder class directly to interact with the Database which will skip the entire Model/Schematic aspect of the library.\r\n\r\nThe only difference is you will specify the collection name manually, like in the example it's doing the queries in the `users` collection.\r\n\r\n```js\r\nimport MongoODM from \"@cameronct/mongo-odm\";\r\n\r\nconst queryBuilder = new MongoODM.QueryBuilder();\r\n\r\nawait queryBuilder.count(\"users\", { email: \"@example.com\" });\r\nawait queryBuilder.findOne(\"users\", { email: \"@example.com\" });\r\nawait queryBuilder.findOneOrCreate(\"users\", { email: \"@example.com\" }, { name: \"test\", email: \"@example.com\" });\r\nawait queryBuilder.findOneAndUpdate(\"users\", { email: \"@example.com\" }, { name: \"test\", email: \"new@example.com\" }, \"$set\");\r\nawait queryBuilder.insertOne(\"users\", { name: \"test\", email: \"@example.com\" });\r\nawait queryBuilder.updateOne(\"users\", { email: \"@example.com\" }, { name: \"test\", email: \"new@example.com\" }, \"$set\");\r\nawait queryBuilder.removeOne(\"users\", { email: \"@example.com\" });\r\n```\r\n\r\n### Documents\r\nWhen a document is inserted into the collection, we specifically add `createdAt` field for new documents using `insertOne`, `insertMany` and `findOneOrCreate`. \r\nWe also add an `updatedAt` field for new documents using `updateOne`, `updateMany` and `findOneAndUpdate`\r\n\r\nThese parameters **cannot** be overridden inside of the Model. I may change this functionality later, but for now it is what it is.\r\n\r\n## Tests\r\n\r\nInserting 50,000 documents using `insertMany`. Code for generating documents is below.\r\n```js\r\nfunction generateTestData() {\r\n    const documents = Array.from({ length: 50000 }, (_, index) => ({\r\n        name: `Student ${index}`,\r\n        age: Math.floor(Math.random() * 100),\r\n    }));\r\n\r\n    return documents;\r\n}\r\n```\r\n\r\nResults:\r\n```\r\nMongoDB Native Test completed in 297 milliseconds\r\nMongoose Test completed in 1883 milliseconds\r\nMongoODM Test completed in 313 milliseconds\r\n```\r\n","readmeFilename":"README.md"}