{"id":15673455,"url":"https://github.com/ljharb/get-dep-tree","last_synced_at":"2025-08-31T20:14:50.856Z","repository":{"id":57250122,"uuid":"445446174","full_name":"ljharb/get-dep-tree","owner":"ljharb","description":"Use npm's Arborist to get a dependency tree for a package.","archived":false,"fork":false,"pushed_at":"2024-12-06T00:23:57.000Z","size":90,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T06:56:59.394Z","etag":null,"topics":["actual","arborist","dependency","ideal","lockfile","npm","tree","virtual"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ljharb.png","metadata":{"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":"ljharb","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":"ljharb","custom":null},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-07T08:11:29.000Z","updated_at":"2024-12-06T00:24:00.000Z","dependencies_parsed_at":"2024-06-11T18:13:29.207Z","dependency_job_id":"3397bd5e-e88e-4888-991e-03cf475f13f6","html_url":"https://github.com/ljharb/get-dep-tree","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"7003b68017d2f9a12d5113cbe9d84731cf97ea58"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ljharb/get-dep-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fget-dep-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fget-dep-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fget-dep-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fget-dep-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljharb","download_url":"https://codeload.github.com/ljharb/get-dep-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljharb%2Fget-dep-tree/sbom","scorecard":{"id":594911,"data":{"date":"2025-08-11","repo":{"name":"github.com/ljharb/get-dep-tree","commit":"4fe3159c8da08075b4d1486408c2f0d9f06bd2ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/node-pretest.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/get-dep-tree/node-pretest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/get-dep-tree/node.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/get-dep-tree/rebase.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/require-allow-edits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ljharb/get-dep-tree/require-allow-edits.yml/main?enable=pin","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node-pretest.yml:1","Warn: no topLevel permission defined: .github/workflows/node.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/rebase.yml:6","Warn: no topLevel permission defined: .github/workflows/require-allow-edits.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/ljharb/.github/SECURITY.md:1","Info: Found linked content: github.com/ljharb/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/ljharb/.github/SECURITY.md:1","Info: Found text in security policy: github.com/ljharb/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}}]},"last_synced_at":"2025-08-20T22:55:10.392Z","repository_id":57250122,"created_at":"2025-08-20T22:55:10.392Z","updated_at":"2025-08-20T22:55:10.392Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878320,"owners_count":25008336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actual","arborist","dependency","ideal","lockfile","npm","tree","virtual"],"created_at":"2024-10-03T15:40:38.248Z","updated_at":"2025-08-31T20:14:50.834Z","avatar_url":"https://github.com/ljharb.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ljharb","https://ko-fi.com/ljharb","https://thanks.dev/ljharb"],"categories":[],"sub_categories":[],"readme":"# get-dep-tree \u003csup\u003e[![Version Badge][npm-version-svg]][package-url]\u003c/sup\u003e\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nUse npm's Arborist to get a dependency tree for a package.\n\n## Example\n\n```js\nconst getDepTree = require('get-dep-tree');\nconst { Node } = require('@npmcli/arborist');\nconst assert = require('assert');\n\ngetDepTree().then((tree) =\u003e {\n\tassert.ok(tree instanceof Node);\n});\n```\n\n[package-url]: https://npmjs.org/package/get-dep-tree\n[npm-version-svg]: https://versionbadg.es/ljharb/get-dep-tree.svg\n[deps-svg]: https://david-dm.org/ljharb/get-dep-tree.svg\n[deps-url]: https://david-dm.org/ljharb/get-dep-tree\n[dev-deps-svg]: https://david-dm.org/ljharb/get-dep-tree/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/get-dep-tree#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/get-dep-tree.png?downloads=true\u0026stars=true\n[license-image]: https://img.shields.io/npm/l/get-dep-tree.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/get-dep-tree.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=get-dep-tree\n[codecov-image]: https://codecov.io/gh/ljharb/get-dep-tree/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/get-dep-tree/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/get-dep-tree\n[actions-url]: https://github.com/ljharb/get-dep-tree/actions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljharb%2Fget-dep-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fljharb%2Fget-dep-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljharb%2Fget-dep-tree/lists"}