{"_id":"@coti-z/nestjs-sql-inspector","_rev":"6-790c0c589e11bd7a2fb6854890e6ac41","name":"@coti-z/nestjs-sql-inspector","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.1","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","_id":"@coti-z/nestjs-sql-inspector@0.0.1","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"homepage":"https://github.com/cothi/nestjs-sql-inspector#readme","bugs":{"url":"https://github.com/cothi/nestjs-sql-inspector/issues"},"dist":{"shasum":"f0c3602a7d15a55975c959ebef88756cdd9e4b16","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.1.tgz","fileCount":15,"integrity":"sha512-SljqsSrq50chp+op8HOwKqyIaDE2fCTZvfE233Cjhh20Hy2VxcTANZjy3O03dlQyta6dDhLYQ6IM9Avy3G1cgA==","signatures":[{"sig":"MEUCIAN/j5xUH9njn/R1pGQS+4vGbR6eYQmVgWyW8sLRMHQlAiEAgn13DiVKn0HVV+kUu3iwohm37qVziwyWLwWSxy9rFAM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13739},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"repository":{"url":"git+https://github.com/cothi/nestjs-sql-inspector.git","type":"git"},"_npmVersion":"11.6.3","description":"Auto-detect SQL performance issues in NestJS","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.0.0","@types/pg":"^8.0.0","typescript":"^5.0.0","@nestjs/common":"^10.0.0"},"peerDependencies":{"pg":">=8.0.0","@nestjs/common":">=9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-sql-inspector_0.0.1_1765030623950_0.2546041497785414","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.2","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","_id":"@coti-z/nestjs-sql-inspector@0.0.2","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"dist":{"shasum":"bf646e02bd4508729358340e6b299f877a0bc1dd","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.2.tgz","fileCount":15,"integrity":"sha512-Z4KEY1pEwRSF9HovW8AOMoe5Isnrn68JYnbA9+4RoUoZk6USdqf9o9dabx2NtROFxFlPgYmnUY3sueK0SBHN9A==","signatures":[{"sig":"MEUCIQDN4K3iGR902IC5onbNMzLPjflIP2sV+OZRoJ2UTnXn0AIgEN5+yu0ZaS8v+h7KriYRWk85H4b17s57Fc/dK9ebeQU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13740},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"repository":{"url":"git+https://github.com/coti-z/nestjs-sql-inspector.git","type":"git"},"_npmVersion":"11.6.3","description":"Auto-detect SQL performance issues in NestJS","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.0.0","@types/pg":"^8.0.0","typescript":"^5.0.0","@nestjs/common":"^10.0.0"},"peerDependencies":{"pg":">=8.0.0","@nestjs/common":">=9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-sql-inspector_0.0.2_1765030811624_0.2780168241301446","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.3","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","_id":"@coti-z/nestjs-sql-inspector@0.0.3","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"dist":{"shasum":"20f5468dc5a26d1ba297b0b4cc3fe18e6d0bd5b2","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.3.tgz","fileCount":15,"integrity":"sha512-NE3zM/l1NNCNJz+5jE3eeI48njtiPjE9hSaQZQnAXSle1uz0edf2tne7UX1cctB9K81xlrhxpOyuA0755txYpA==","signatures":[{"sig":"MEMCHyYJZRbI5gJrMKh2s5Digt7zR2Tsau/c2tOHJeb7RXECIHFFM20EPlqA4t2RKyluhY2OwIeEi0eANRa+Do1RnWw0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13840},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8c53802c0e645af65d2efe2d6c924aac56aa6c58","private":false,"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"repository":{"url":"git+https://github.com/coti-z/nestjs-sql-inspector.git","type":"git"},"_npmVersion":"11.6.3","description":"Auto-detect SQL performance issues in NestJS","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.0.0","@types/pg":"^8.0.0","typescript":"^5.0.0","@nestjs/common":"^10.0.0"},"peerDependencies":{"pg":">=8.0.0","@nestjs/common":">=9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-sql-inspector_0.0.3_1765031333747_0.7410161835288531","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.4","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","_id":"@coti-z/nestjs-sql-inspector@0.0.4","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"dist":{"shasum":"a79681ed6fcd26450454cb5e6cb80bcba98ab578","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.4.tgz","fileCount":15,"integrity":"sha512-SzqdP1ltK4oGDLmwx23pWVlIwuNZ73zoEXHf6wPxqjJ0XoAnrS2nPwfjQiE8mVucEPq0NPyYBUV1gwdGOdPtWA==","signatures":[{"sig":"MEYCIQCDqf54OgKFX2PUlOF5oseEgzW8mn7bljdxlDlI/bX3TwIhAMotUxcYjLG/Feku30GB/PjY4Jk3Mc6b7dLMw4FHprIj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16460},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8c53802c0e645af65d2efe2d6c924aac56aa6c58","private":false,"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"repository":{"url":"git+https://github.com/coti-z/nestjs-sql-inspector.git","type":"git"},"_npmVersion":"11.6.3","description":"Auto-detect SQL performance issues in NestJS","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.0.0","@types/pg":"^8.0.0","typescript":"^5.0.0","@nestjs/common":"^10.0.0"},"peerDependencies":{"pg":">=8.0.0","@nestjs/common":">=9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-sql-inspector_0.0.4_1765032421971_0.2968286938779945","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.5","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","_id":"@coti-z/nestjs-sql-inspector@0.0.5","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"dist":{"shasum":"97020cd63d390a16ff8d4453e46af66675f0b990","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.5.tgz","fileCount":15,"integrity":"sha512-g8bUoc9QitFq8PEbXHBJpUu4ilXaFj2v6+y0EH86K7ct+eUnRHuvjay+TX6gGnI4/1PNwe0Eww2a27craL9jRg==","signatures":[{"sig":"MEUCIQDR8giJfYGibEN9FwqqNKVzyhkurHRxpH1Cgcan6piExAIgLZm7Yw61pm/p+X8V6guGbNIA8QmWePmNn4DFS+YqjOI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16460},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8c53802c0e645af65d2efe2d6c924aac56aa6c58","private":false,"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"repository":{"url":"git+https://github.com/coti-z/nestjs-sql-inspector.git","type":"git"},"_npmVersion":"11.6.3","description":"Auto-detect SQL performance issues in NestJS","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.0.0","@types/pg":"^8.0.0","typescript":"^5.0.0","@nestjs/common":"^10.0.0"},"peerDependencies":{"pg":">=8.0.0","@nestjs/common":">=9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-sql-inspector_0.0.5_1765032447650_0.14763847965861565","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@coti-z/nestjs-sql-inspector","version":"0.0.6","private":false,"description":"Auto-detect SQL performance issues in NestJS","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"npm run build"},"publishConfig":{"access":"public"},"keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"author":{"name":"cothi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/coti-z/nestjs-sql-inspector.git"},"peerDependencies":{"@nestjs/common":">=9.0.0","pg":">=8.0.0"},"devDependencies":{"@nestjs/common":"^10.0.0","@types/pg":"^8.0.0","pg":"^8.0.0","typescript":"^5.0.0"},"gitHead":"a5d253a8b983ba81f1c2af3b8e2623afdfb57a5c","_id":"@coti-z/nestjs-sql-inspector@0.0.6","bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","_nodeVersion":"22.19.0","_npmVersion":"11.6.3","dist":{"integrity":"sha512-ZfjU9Ebz+nko6TIQ5x7IjonjMVuyszOhkBoxPSzKyMClTDebwldKMt2AkqycAj5fgjAFmN9fCoxEu9VT/MAS9Q==","shasum":"f4635b0f83efc3053eab7cbee07c2be6d80e4e6c","tarball":"https://registry.npmjs.org/@coti-z/nestjs-sql-inspector/-/nestjs-sql-inspector-0.0.6.tgz","fileCount":43,"unpackedSize":30125,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBeElwt4IzUsJavkjrNHn2vqjN4Xq304+7CW8Y+xDqclAiAn6p3nIWm6lxs4pIF29x07Ek/KriBl4+EFlRL3fl9uWw=="}]},"_npmUser":{"name":"coti-z","email":"jiungdev@naver.com"},"directories":{},"maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs-sql-inspector_0.0.6_1765035564282_0.3369067135348114"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-06T14:17:03.901Z","modified":"2025-12-06T15:39:24.635Z","0.0.1":"2025-12-06T14:17:04.083Z","0.0.2":"2025-12-06T14:20:11.778Z","0.0.3":"2025-12-06T14:28:53.959Z","0.0.4":"2025-12-06T14:47:02.112Z","0.0.5":"2025-12-06T14:47:27.797Z","0.0.6":"2025-12-06T15:39:24.428Z"},"bugs":{"url":"https://github.com/coti-z/nestjs-sql-inspector/issues"},"author":{"name":"cothi"},"license":"MIT","homepage":"https://github.com/coti-z/nestjs-sql-inspector#readme","keywords":["nestjs","sql","postgresql","explain","performance","inspector"],"repository":{"type":"git","url":"git+https://github.com/coti-z/nestjs-sql-inspector.git"},"description":"Auto-detect SQL performance issues in NestJS","maintainers":[{"name":"coti-z","email":"jiungdev@naver.com"}],"readme":"# @coti-z/nestjs-sql-inspector\n\ninspect query performance issues in NestJS applications.\n\n## Installation\n\n```bash\nnpm install @coti-z/nestjs-sql-inspector\n```\n\n## Usage\n\n```typescript\nimport { Module } from \"@nestjs/common\";\nimport { SqlInspectorModule } from \"@coti-z/nestjs-sql-inspector\";\n\n@Module({\n  imports: [\n    SqlInspectorModule.forRoot({\n      db: \"postgres\",\n      logLevel: \"debug\",\n      enabled: true,\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\n## Options\n\n| Option     | Type                         | Default      | Description                  |\n| ---------- | ---------------------------- | ------------ | ---------------------------- |\n| `db`       | `\"postgres\"`                 | `\"postgres\"` | Database driver              |\n| `logLevel` | `\"debug\" \\| \"log\" \\| \"warn\"` | `\"debug\"`    | Log level for query analysis |\n| `enabled`  | `boolean`                    | `true`       | Enable/disable inspector     |\n\n## Features\n\n- Automatic query analysis using EXPLAIN\n- Detects slow queries and inefficient scan types\n- Logs query performance information\n\n## RoadMap\n\n- database\n\n  - [x] PostgreSQL\n  - [ ] MySQL\n  - [ ] MongoDB\n\n- option\n  - [ ] slowQueryThreshold\n\n## Requirements\n\n- NestJS >= 9.0.0\n- PostgreSQL with `pg` driver >= 8.0.0\n\n## License\n\nMIT\n","readmeFilename":"README.md"}