{"package":"compression","ecosystem":"npm","latest_version":"1.8.2","description":"Node.js compression middleware","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/expressjs/compression#readme","repository":"https://github.com/expressjs/compression","downloads_weekly":34470927,"health":{"score":94,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":9,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"1.8.2","total_count":40,"recent":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.8.0","1.8.1","1.8.2"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":3,"first_published":"2014-01-01T23:38:49.435Z","last_published":"2026-09-11T11:16:47.669Z","dependencies_count":8,"dependencies":["vary","bytes","debug","destroy","negotiator","on-headers","safe-buffer","compressible"]},"github_stats":{"stars":2803,"forks":242,"open_issues":32,"is_archived":false,"pushed_at":"2026-03-02T07:30:14+00:00"},"bundle":null,"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/compression"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"1.8.2","version_hint":null,"summary":"compression@1.8.2 is safe to use (health: 94/100)"},"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/compression","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/compression","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/compression","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"},"_cache":"hit","_response_ms":0}