{"package":"apollo-codegen","ecosystem":"npm","latest_version":"0.20.2","description":"Generate API code or type annotations based on a GraphQL schema and query documents","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/apollographql/apollo-codegen#readme","repository":"https://github.com/apollographql/apollo-codegen","downloads_weekly":38912,"health":{"score":54,"risk":"high","breakdown":{"maintenance":25,"popularity":10,"security":25,"maturity":15,"community":9},"deprecated":true,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.20.2","total_count":102,"recent":["0.17.0","0.17.1","0.17.2","0.18.0","0.18.1","0.18.2","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.18.8","0.19.0","0.19.1","0.20.0-alpha.f3534c9a","0.20.0-alpha.42be903e","0.20.0-alpha.943ba290","0.20.0","0.20.1","0.20.2"]},"metadata":{"deprecated":true,"deprecated_message":"The 'apollo-codegen' command has been replaced with the more-powerful 'apollo' CLI. Switch to 'apollo' to ensure future updates and visit https://npm.im/apollo#code-generation for more information.","maintainers_count":3,"first_published":"2016-08-12T19:38:11.238Z","last_published":"2018-06-28T18:52:27.594Z","dependencies_count":13,"dependencies":["apollo-codegen-core","apollo-codegen-flow","apollo-codegen-flow-legacy","apollo-codegen-scala","apollo-codegen-swift","apollo-codegen-typescript","apollo-codegen-typescript-legacy","glob","graphql","node-fetch","rimraf","source-map-support","yargs"]},"github_stats":{"stars":3042,"forks":463,"open_issues":366,"is_archived":false,"pushed_at":"2026-04-29T14:52:47Z","subscribers_count":57},"bundle":{"size_kb":1181.5,"gzip_kb":379.0,"dependency_count":13,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/apollo-codegen"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"find_alternative","issues":["Moderate health score (54/100) — verify manually","Package is deprecated"],"use_version":"0.20.2","version_hint":null,"summary":"apollo-codegen is deprecated — find an alternative"},"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/apollo-codegen","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/apollo-codegen","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/apollo-codegen","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","hint_bulk":"You've called /api/check 20 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":1326,"_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":3551,"last_release_days_ago":2866,"avg_days_between_releases":187,"release_velocity":"stale"}}