{"package":"directory-tree","ecosystem":"npm","latest_version":"3.6.0","description":"Convert a directory tree to a JS object.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/mihneadb/node-directory-tree","repository":"https://github.com/mihneadb/node-directory-tree","downloads_weekly":472129,"health":{"score":71,"risk":"moderate","breakdown":{"maintenance":15,"popularity":14,"security":25,"maturity":15,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"3.6.0","total_count":37,"recent":["2.2.7","2.2.8","2.2.9","2.3.0","2.3.1","2.4.0","3.0.0","3.0.1","3.1.0","3.2.0","3.2.1","3.2.2","3.3.0","3.3.1","3.3.2","3.4.0","3.5.0","3.5.1","3.5.2","3.6.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2014-03-11T13:20:45.651Z","last_published":"2026-01-24T11:41:22.569Z","dependencies_count":2,"dependencies":["command-line-args","command-line-usage"]},"github_stats":null,"bundle":{"size_kb":1.5,"gzip_kb":0.8,"dependency_count":2,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":0,"has_types":false,"types_source":null,"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":"3.6.0","version_hint":null,"summary":"directory-tree@3.6.0 is safe to use (health: 71/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/directory-tree","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/directory-tree","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/directory-tree","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 8 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":1047,"_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":4435,"last_release_days_ago":99,"avg_days_between_releases":233,"release_velocity":"moderate"}}