{"id":13657670,"url":"https://github.com/botify-labs/webpack-dependency-tree","last_synced_at":"2025-04-24T08:30:32.873Z","repository":{"id":28218261,"uuid":"31722452","full_name":"botify-labs/webpack-dependency-tree","owner":"botify-labs","description":null,"archived":true,"fork":false,"pushed_at":"2015-03-05T17:41:28.000Z","size":136,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-08T22:23:43.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botify-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-05T16:06:27.000Z","updated_at":"2023-01-28T20:51:22.000Z","dependencies_parsed_at":"2022-09-13T03:10:30.022Z","dependency_job_id":null,"html_url":"https://github.com/botify-labs/webpack-dependency-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botify-labs%2Fwebpack-dependency-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botify-labs%2Fwebpack-dependency-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botify-labs%2Fwebpack-dependency-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botify-labs%2Fwebpack-dependency-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botify-labs","download_url":"https://codeload.github.com/botify-labs/webpack-dependency-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250591858,"owners_count":21455448,"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","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":[],"created_at":"2024-08-02T05:00:47.966Z","updated_at":"2025-04-24T08:30:32.603Z","avatar_url":"https://github.com/botify-labs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# webpack-dependency-tree\n\nBuilds a dependency tree from webpack stats\n\n## Example\n\n```\n├── react@0.12.2\n│   node_modules/react\n├── classnames@1.1.4\n│   node_modules/classnames\n├── immutable@3.6.2\n│   node_modules/immutable\n├── lodash@2.4.1\n│   node_modules/lodash\n├── font-awesome@4.1.0\n│   node_modules/font-awesome\n├── datatables@1.10.5\n│   node_modules/datatables\n├── style-loader@0.8.3\n│   node_modules/style-loader\n├── css-loader@0.9.1\n│   node_modules/css-loader\n├─┬ webpack@1.7.2\n│ │ node_modules/webpack\n│ └─┬ node-libs-browser@0.4.3\n│   │ node_modules/webpack/node_modules/node-libs-browser\n│   └── process@0.10.1\n│       node_modules/webpack/node_modules/node-libs-browser/node_modules/process\n├── react-bootstrap@0.15.1\n│   node_modules/react-bootstrap\n└── jquery@1.11.2\n    node_modules/jquery\n```\n\n## API\n\n### fromStats(stats, [opts])\n\nBuilds a dependency tree from webpack stats.\n\n`opts` can be:\n\n  * `opts.packageDescriptors`: List of package descriptor files to look for in package directories. Defaults to `['package.json', 'bower.json', 'component.json']`\n\n### treeToString(tree, [opts])\n\nConverts a dependency tree to an ASCII hierarchy representation.\n\n`opts` can be:\n\n  * `opts.pretty`: Add colors and styles to the output\n  * `opts.fullPaths`: Display full paths instead of relative paths.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotify-labs%2Fwebpack-dependency-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotify-labs%2Fwebpack-dependency-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotify-labs%2Fwebpack-dependency-tree/lists"}