{"_id":"@dry-lint/mongoose","_rev":"7-441c7e2b28a1843b63dc8223bd603172","name":"@dry-lint/mongoose","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@dry-lint/mongoose","version":"1.0.0","_id":"@dry-lint/mongoose@1.0.0","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"dist":{"shasum":"c60c447e2be807f90091f30a300b860c57a77f6b","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-1.0.0.tgz","fileCount":6,"integrity":"sha512-4EVAuDSzDBfmHU00v8cJYUyLcC6g8efY9dBABi40aj/9XyqsG9pq3Fef14QMm659Y6HPMkWZzLZF7uAutDprKQ==","signatures":[{"sig":"MEYCIQC19mpGjzJlPXOKmHoXOVgNz2K7KP6MNrd75xNi3yMt/AIhALJTTrBmlr5Regb7eIuHqabi7xwKcupLlWLzanzkSkwp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54855},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"bb7e8a29c30f9764276ddfaf6fd5360973d73e23","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"vitest","build":"tsc -b","clean":"rimraf dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"_npmVersion":"10.9.2","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ts-morph":"^26.0.0","@dry-lint/core":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_1.0.0_1751539474648_0.19698181921907087","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dry-lint/mongoose","version":"1.0.1","_id":"@dry-lint/mongoose@1.0.1","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"dist":{"shasum":"d54fb1ff1489aebcd1b7f1ead21ddeb923b5240c","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-1.0.1.tgz","fileCount":7,"integrity":"sha512-/cAaEzt79P0kIpbAKmYBmpyGpAsXO/YLzEO4xqU5EObd4sF2TNxDOyDwrlQPjxfYl6oC0lezvyjWCw8o/FWpyg==","signatures":[{"sig":"MEYCIQCsY4kpeFqajiRqmpCFw6CmqoKFxGvRcJvEs2xnS+HL5wIhAPrca2Yb4ohI5k/eSVyQdfkzuKvqe4E9PKExlxDvApBH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56114},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"9313ad68a6d1915cace46586ae4c2c0f8340ad7b","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"vitest","build":"bun run clean && tsc -b","clean":"bunx rimraf dist/* dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"_npmVersion":"10.9.2","description":"[![CI](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml/badge.svg)](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml)   [![Docs](https://img.shields.io/badge/docs-%E2%9C%93-blue)](https://dry-lint.github.io/dry-lint/)   [![Licens","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ts-morph":"^26.0.0","@dry-lint/core":"1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_1.0.1_1751549695528_0.6413106461646862","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dry-lint/mongoose","version":"1.0.2","keywords":["lint","mongoose","schema","typescript"],"author":{"name":"Lodewijk Wensveen"},"license":"MIT","_id":"@dry-lint/mongoose@1.0.2","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"homepage":"https://github.com/dry-lint/dry-lint#readme","bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"dist":{"shasum":"6f69847466c09006767abc4b72265fdded89a13b","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-1.0.2.tgz","fileCount":7,"integrity":"sha512-plhXFFQBLLAeeHKBEg2hfHwBHs7Cb/4mipnTbZeTj3nWRJiylWrvR1Sy6VhcvqKIee7rcawKM0g9dCRJslncyg==","signatures":[{"sig":"MEYCIQDv9OFPdhxdHjBcah/5qBHvq/6r+qCOhIQWMk+5vBIksgIhANXKtP1WNdWjCBn5m1dsu0BJI0byHFjCl6khSxkTPb9z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56262},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"e0f417a5b5e6b3cbb513c64f8f9db9357b1a2a8a","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","test":"vitest","build":"bun run clean && tsc -b","clean":"bunx rimraf dist/* dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"repository":{"url":"git+https://github.com/dry-lint/dry-lint.git","type":"git"},"_npmVersion":"10.8.2","description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","directories":{},"_nodeVersion":"20.19.2","dependencies":{"ts-morph":"^26.0.0","@dry-lint/core":"1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_1.0.2_1751641449329_0.7526726602316123","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@dry-lint/mongoose","version":"1.0.3","keywords":["lint","mongoose","schema","typescript"],"author":{"name":"Lodewijk Wensveen"},"license":"MIT","_id":"@dry-lint/mongoose@1.0.3","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"homepage":"https://github.com/dry-lint/dry-lint#readme","bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"dist":{"shasum":"78297aacc7090d5f8de0bf359903d5bd382a3317","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-1.0.3.tgz","fileCount":7,"integrity":"sha512-e6BHQIR5StXYEvZwrObR8ddV2gFKatjEKtfpHs6CWMLYA8GioQOck6uA1SfmORb7hrVFyyU+V2QV86cWazYFbQ==","signatures":[{"sig":"MEUCID1SzP3ob82BGoHcPxSv1mpj/yebZSb1ZlLOdid9TTBgAiEA6u4tTF4bZJLZyyEL4J3zqMyH+KMxYwj3CWim9xjOL8A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56225},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"53cfd5e36601e469e49d63fd20f2f0c0f014fa10","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","size":"pkg-size .","test":"vitest","build":"bun run clean && tsc -b","clean":"bunx rimraf dist/* dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"repository":{"url":"git+https://github.com/dry-lint/dry-lint.git","type":"git"},"_npmVersion":"10.8.2","description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","directories":{},"_nodeVersion":"20.19.2","dependencies":{"ts-morph":"^26.0.0","@dry-lint/core":"1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_1.0.3_1751646568669_0.8569946105651516","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@dry-lint/mongoose","version":"1.0.4","keywords":["lint","mongoose","schema","typescript"],"author":{"name":"Lodewijk Wensveen"},"license":"MIT","_id":"@dry-lint/mongoose@1.0.4","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"homepage":"https://github.com/dry-lint/dry-lint#readme","bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"dist":{"shasum":"15f0f7dfe0119a33cf3dc20e834c58465763dc10","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-1.0.4.tgz","fileCount":7,"integrity":"sha512-vx4WOPK4zf7U4sBME1uc4UZUPnBNX01WVmlzb3bpURkep5XgGyOU0aZhjVcHFU3+1xto1t2JmrD/2iFUvYJRpg==","signatures":[{"sig":"MEUCIQDshIwkvUWTmwWK0l/1gRxNTeklz8SzKkpUryBd6UTtFwIgKlvcBQoeHBY9UTYnXe4dL6ypht8rrD3qRM11Assu+Ys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56203},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"c69ea914af9a5b6658b30ccf371e2f0c251182d3","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","size":"pkg-size .","test":"vitest","build":"bun run clean && tsc -b","clean":"bunx rimraf dist/* dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"repository":{"url":"git+https://github.com/dry-lint/dry-lint.git","type":"git"},"_npmVersion":"10.8.2","description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","directories":{},"_nodeVersion":"20.19.2","dependencies":{"ts-morph":"^26.0.0","@dry-lint/core":"1.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_1.0.4_1751887407200_0.4367159977939752","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@dry-lint/mongoose","version":"2.0.0","keywords":["lint","mongoose","schema","typescript"],"author":{"name":"Lodewijk Wensveen"},"license":"MIT","_id":"@dry-lint/mongoose@2.0.0","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"homepage":"https://github.com/dry-lint/dry-lint#readme","bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"dist":{"shasum":"7e83be0dcb79b1b10bc150e2f604df2002454b90","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-2.0.0.tgz","fileCount":7,"integrity":"sha512-pdSs0VtSj3+sDvrmcdC2ehpvzfv5eMzlk8QIbkeqrFBpb44pHNS27Dd0QVku8Z8SMIpQAsQk7po9yjXagXooZg==","signatures":[{"sig":"MEQCIDkfJWW40DXlq/uf0Lbnzo19uuD7p5RmgqNS6gCYrWsbAiBeilVW4s7ngKa9HZz8i94kX4LAytO8Ip+qVMhtjF4bmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57534},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"7487540294c449b5fd0fd150c013572bec4c2803","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","size":"pkg-size .","test":"vitest","build":"bun run clean && tsc -b","clean":"bunx rimraf dist/* dist","test:ci":"vitest run","check-types":"tsc -b --noEmit"},"_npmUser":{"name":"lwensveen","actor":{"name":"lwensveen","type":"user","email":"lodewijkwensveen@gmail.com"},"email":"lodewijkwensveen@gmail.com"},"repository":{"url":"git+https://github.com/dry-lint/dry-lint.git","type":"git"},"_npmVersion":"11.4.2","description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","directories":{},"_nodeVersion":"22.15.1","dependencies":{"ts-morph":"^26.0.0","@dry-lint/dry-lint":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.30.1","rimraf":"^6.0.1","vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^24.0.11","@dry-lint/dry-lint":"2.0.0"},"peerDependencies":{"@dry-lint/dry-lint":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongoose_2.0.0_1752005051028_0.13600869693078277","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@dry-lint/mongoose","description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","version":"3.0.0","author":{"name":"Lodewijk Wensveen"},"dependencies":{"@dry-lint/dry-lint":"3.0.0","ts-morph":"^26.0.0"},"devDependencies":{"@dry-lint/dry-lint":"3.0.0","@types/node":"^24.0.13","eslint":"^9.31.0","rimraf":"^6.0.1","typescript":"^5.8.3","vitest":"^3.2.4"},"engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"keywords":["lint","mongoose","schema","typescript"],"license":"MIT","main":"dist/index.js","peerDependencies":{"@dry-lint/dry-lint":"3.0.0"},"private":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/dry-lint/dry-lint.git"},"scripts":{"build":"tsc -b","check-types":"tsc -b --noEmit","clean":"rimraf -g 'dist/*' dist tsconfig.tsbuildinfo","lint":"eslint \"src/**/*.ts\"","size":"pkg-size .","test":"vitest","test:ci":"vitest run"},"type":"module","types":"dist/index.d.ts","_id":"@dry-lint/mongoose@3.0.0","gitHead":"f1ccfd8cc0f7abc40e131221bd9e49c5d844d3f9","bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"homepage":"https://github.com/dry-lint/dry-lint#readme","_nodeVersion":"22.15.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-e3sKk0vMKve6rMsG43bry8uTm2P5zu9A9MXNiU/QyDHuBr4k40P4z4awDs5xAJdnUIYbDjUUg5EfrQCl3zBVOA==","shasum":"169f97ddf9dce1fcfde3c5ade05aee102774208f","tarball":"https://registry.npmjs.org/@dry-lint/mongoose/-/mongoose-3.0.0.tgz","fileCount":6,"unpackedSize":7858,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDLVdbxwbWWhT6Bk0ovOt+2A1CjxIkPEQmBE+a6OusQTAiBVW9koIk3gj2AB3eOJwmJXxwuzNdmJGJOmumB5dy6QiQ=="}]},"_npmUser":{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"},"directories":{},"maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongoose_3.0.0_1752358155294_0.7869965917443285"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-03T10:44:34.549Z","modified":"2025-07-12T22:09:15.683Z","1.0.0":"2025-07-03T10:44:34.833Z","1.0.1":"2025-07-03T13:34:55.729Z","1.0.2":"2025-07-04T15:04:09.509Z","1.0.3":"2025-07-04T16:29:28.879Z","1.0.4":"2025-07-07T11:23:27.404Z","2.0.0":"2025-07-08T20:04:11.194Z","3.0.0":"2025-07-12T22:09:15.477Z"},"bugs":{"url":"https://github.com/dry-lint/dry-lint/issues"},"author":{"name":"Lodewijk Wensveen"},"license":"MIT","homepage":"https://github.com/dry-lint/dry-lint#readme","keywords":["lint","mongoose","schema","typescript"],"repository":{"type":"git","url":"git+https://github.com/dry-lint/dry-lint.git"},"description":"Detect duplicate or near-duplicate definitions in Mongoose schema files.","maintainers":[{"name":"lwensveen","email":"lodewijkwensveen@gmail.com"}],"readme":"# `@dry-lint/mongoose`\n\n[![CI](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml/badge.svg)](https://github.com/dry-lint/dry-lint/actions/workflows/ci.yml) [![Docs](https://img.shields.io/badge/docs-%E2%9C%93-blue)](https://dry-lint.github.io/dry-lint/) [![License](https://img.shields.io/npm/l/@dry-lint/cli)](https://github.com/dry-lint/dry-lint/blob/main/LICENSE)\n\nPart of the [**dry-lint**](https://github.com/dry-lint/dry-lint) monorepo.\n\nExtracts schema definitions, models, and field structures from **Mongoose schema files** (`.ts` / `.js`) so you can detect duplicate or overlapping Mongoose models in your application.\n\n---\n\n## Install\n\n```bash\nbun add -D @dry-lint/mongoose\n```\n\n---\n\n## Configure\n\nAdd it to your `.drylintrc.json`:\n\n```json\n{\n  \"plugins\": [\"@dry-lint/mongoose\"]\n}\n```\n\nRun detection with the [CLI](https://www.npmjs.com/package/@dry-lint/cli). This plugin auto-registers itself.\n\n---\n\n## More\n\n- [Monorepo & Other Plugins](https://github.com/dry-lint/dry-lint#-packages)\n- [Core API Docs](https://github.com/dry-lint/dry-lint#-api-dry-lint)\n\n---\n\n## License\n\nMIT — see [LICENSE](https://github.com/dry-lint/dry-lint/blob/main/LICENSE).\n","readmeFilename":"README.md"}