{"package":"diagram-js","ecosystem":"npm","latest_version":"15.17.0","description":"A toolbox for displaying and modifying diagrams on the web","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/bpmn-io/diagram-js#readme","repository":"https://github.com/bpmn-io/diagram-js","downloads_weekly":290307,"health":{"score":84,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"security":25,"maturity":15,"community":5,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"15.17.0","total_count":309,"recent":["15.3.1","15.4.0","15.5.0","15.6.0","15.7.0","15.8.0","15.9.0","15.9.1","15.10.0","15.11.0","15.12.0","15.13.0","15.14.0","15.15.0","15.15.1","16.0.0-esm.0","15.16.0","16.0.0-esm.1","16.0.0-esm.2","15.17.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":11,"first_published":"2014-03-21T13:31:46.015Z","last_published":"2026-06-08T15:11:35.274Z","dependencies_count":9,"dependencies":["@bpmn-io/diagram-js-ui","clsx","didi","inherits-browser","min-dash","min-dom","object-refs","path-intersection","tiny-svg"]},"github_stats":null,"bundle":null,"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":"15.17.0","version_hint":null,"summary":"diagram-js@15.17.0 is safe to use (health: 84/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/diagram-js","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/diagram-js","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/diagram-js","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 21 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_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":4471,"last_release_days_ago":9,"avg_days_between_releases":235,"release_velocity":"active"}}