directory-tree 3.3.0
Convert a directory tree to a JS object.
directory-tree@3.3.0 was published on 2022-05-21. Its manifest declares 2 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.0.
All directory-tree versions · Permanent reference to 3.3.0 · Latest release
Package specifications
| Version | 3.3.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-05-21T07:34:19.502Z |
| Node.js requirement | >=10.0 |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 17.40 KiB |
| Published file count | 11 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/directory-tree.js |
| Side effects declaration | Not declared |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | 540 |
| Repository forks | 104 |
Install directory-tree 3.3.0
npm install directory-tree@3.3.0 pnpm add directory-tree@3.3.0 yarn add directory-tree@3.3.0
Runtime dependencies
- command-line-args ^5.2.0
- command-line-usage ^6.1.1
Peer requirements
- None declared
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 0/10 — Found 1/12 approved changesets -- score normalized to 0 |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/directory-tree/3.3.0 — retrieved 2026-10-31T20:11:34.857Z
- https://api.deps.dev/v3/projects/github.com%2Fmihneadb%2Fnode-directory-tree — retrieved 2026-10-31T18:08:38.354Z