{"package":"diff","ecosystem":"npm","latest_version":"9.0.0","description":"A JavaScript text diff implementation.","license":"BSD-3-Clause","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"","repository":"https://github.com/kpdecker/jsdiff","downloads_weekly":129390467,"health":{"score":93,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":8,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"9.0.0","total_count":56,"recent":["4.0.1","4.0.2","5.0.0","5.1.0","5.2.0","6.0.0-beta","6.0.0","7.0.0","8.0.0-beta","8.0.0","8.0.1","8.0.2","8.0.3","5.2.1","5.2.2","4.0.3","4.0.4","3.5.1","8.0.4","9.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":2,"first_published":"2011-03-29T17:19:02.655Z","last_published":"2026-04-13T12:39:24.498Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":9210,"forks":545,"open_issues":22,"is_archived":false,"pushed_at":"2026-09-19T20:06:31Z","subscribers_count":94},"bundle":{"size_kb":22.0,"gzip_kb":7.8,"dependency_count":0,"has_js_module":"./libesm/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":"safe_to_use","issues":[],"use_version":"9.0.0","version_hint":null,"summary":"diff@9.0.0 is safe to use (health: 93/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/diff","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/diff","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/diff","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}