npm · npm:directory-tree
directory-tree active
Convert a directory tree to a JS object.
The latest stable version of directory-tree is 3.6.0, published on 2026-01-24. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.6.0 |
|---|---|
| Published | 2026-01-24 11:41:22 UTC |
| Install | npm install directory-tree@latest |
| Requires (engines) | {"node":">=10.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.6.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:01:15 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-01-24 11:41:22 UTC · 292 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 37 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.6.0 | 2026-01-24 11:41:22 UTC |
3.5.2 | 2024-07-15 18:35:41 UTC |
3.5.1 | 2022-12-21 13:05:40 UTC |
3.5.0 | 2022-12-20 10:23:33 UTC |
3.4.0 | 2022-11-18 10:41:56 UTC |
3.3.2 | 2022-11-07 07:55:11 UTC |
3.3.1 | 2022-09-01 08:59:15 UTC |
3.3.0 | 2022-05-21 07:34:19 UTC |
3.2.2 | 2022-02-21 05:42:23 UTC |
3.2.1 | 2022-02-11 18:00:37 UTC |
3.2.0 | 2022-02-08 17:39:47 UTC |
3.1.0 | 2022-02-01 17:55:21 UTC |
3.0.1 | 2021-11-17 08:43:07 UTC |
3.0.0 | 2021-09-22 11:38:06 UTC |
2.4.0 withdrawn | 2021-09-15 06:42:29 UTC |
2.3.1 | 2021-08-12 17:03:13 UTC |
2.3.0 | 2021-08-12 13:02:34 UTC |
2.2.9 | 2021-04-13 19:18:15 UTC |
2.2.8 | 2021-04-13 18:52:50 UTC |
2.2.7 | 2021-02-22 09:53:50 UTC |
Showing the 20 most recent of 37 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.6.0 |
node 18 | 3.6.0 |
node 20 | 3.6.0 |
node 22 | 3.6.0 |
node 24 | 3.6.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of directory-tree?
The latest stable version of directory-tree is 3.6.0, published on 2026-01-24. Verified by Vigia on 2026-11-12.
How do I install the latest version of directory-tree?
Run npm install directory-tree@latest. The latest stable version is 3.6.0 (verified 2026-11-12).
Is directory-tree deprecated?
No. directory-tree is not marked as deprecated in the registry.
Which Node.js version does directory-tree require?
directory-tree 3.6.0 declares this requirement: {"node":">=10.0"}.
Does directory-tree 3.6.0 have known vulnerabilities?
No known advisories affect directory-tree 3.6.0 according to the data Vigia checks.
Is directory-tree still maintained?
directory-tree published 1 stable releases in the last 12 months; the most recent was 292 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- unicode-length
- dinero.js
- @types/react-avatar-editor
- @zag-js/rect-utils
- @storybook/angular
- @visx/glyph
- ng2-charts
- @metamask/superstruct
- ajv-cli
- @salesforce/schemas
- @aws-sdk/client-iot
- degit
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/directory-tree) [](https://vigia.coredls.cloud/npm/directory-tree) [](https://vigia.coredls.cloud/npm/directory-tree)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/directory-tree
GET https://vigia.coredls.cloud/v1/packages/npm/directory-tree/versions/{version}