{"package":"pg-typegen","ecosystem":"npm","latest_version":"3.9.1","description":"Generate TypeScript type definitions from Postgres database","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/aldis-ameriks/pg-typegen#readme","repository":"https://github.com/aldis-ameriks/pg-typegen","downloads_weekly":116,"health":{"score":52,"risk":"high","breakdown":{"maintenance":10,"popularity":3,"security":25,"maturity":12,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"3.9.1","total_count":40,"recent":["3.3.5","3.3.6","3.3.7","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.5.0-alpha.0","3.5.0","3.6.0-alpha.0","3.6.1","3.6.2","3.6.3","3.7.0","3.7.1","3.7.2","3.8.0","3.9.0","3.9.1"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2020-10-27T17:21:25.768Z","last_published":"2025-06-02T07:55:02.539Z","dependencies_count":1,"dependencies":["postgres"]},"github_stats":null,"bundle":{"size_kb":50.0,"gzip_kb":17.6,"dependency_count":1,"has_js_module":"src/index.js","has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"use_with_caution","issues":["Moderate health score (52/100) — verify manually"],"use_version":"3.9.1","version_hint":null,"summary":"pg-typegen@3.9.1 low health (52/100) — consider alternatives"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/pg-typegen","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/pg-typegen","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/pg-typegen","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"requested_version":null,"_cache":"miss","_response_ms":1111,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":2014,"last_release_days_ago":335,"avg_days_between_releases":106,"release_velocity":"moderate"}}