Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richorama/nuget-tree
:package: [ALPHA] Shows nuget package dependencies in a hierarchy
https://github.com/richorama/nuget-tree
nuget nuget-packages
Last synced: 3 months ago
JSON representation
:package: [ALPHA] Shows nuget package dependencies in a hierarchy
- Host: GitHub
- URL: https://github.com/richorama/nuget-tree
- Owner: richorama
- Created: 2017-02-21T20:41:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-30T11:11:34.000Z (over 1 year ago)
- Last Synced: 2024-04-14T00:57:36.469Z (10 months ago)
- Topics: nuget, nuget-packages
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 23
- Watchers: 5
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# nuget-tree
## Installation
Please install the latest version of [node.js](https://nodejs.org).
Then install using [npm](https://www.npmjs.com/package/nuget-tree):
```
> npm install -g nuget-tree
```## Usage
Navigate to a directory containing a `packages.config` / `project.lock.json` file. Then run this command:
```
> nuget-tree
```This will draw a nice dependency tree for you:
```
packages.config
├─┬ Microsoft.Orleans.OrleansCodeGenerator 1.4.0
│ ├─┬ Microsoft.Orleans.Core 1.4.0
│ │ └── Newtonsoft.Json 9.0.1
│ └─┬ Microsoft.CodeAnalysis.CSharp 1.3.2
│ └─┬ Microsoft.CodeAnalysis.Common 1.3.2
│ └── Microsoft.CodeAnalysis.Analyzers 1.1.0
├─┬ Microsoft.Orleans.OrleansHost 1.4.0
│ ├─┬ Microsoft.Orleans.Core 1.4.0
│ │ └── Newtonsoft.Json 9.0.1
│ └─┬ Microsoft.Orleans.OrleansRuntime 1.4.0
│ ├─┬ Microsoft.Orleans.Core 1.4.0
│ │ └── Newtonsoft.Json 9.0.1
│ ├─┬ Microsoft.Extensions.DependencyInjection 1.0.0
│ │ └── Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0
│ └── Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0
├─┬ Microsoft.Owin.Hosting 3.0.1
│ ├── Owin 1.0
│ └─┬ Microsoft.Owin 3.0.1
│ └── Owin 1.0
└── Nowin 0.23.0
```Optional parameters:
* `--hideVersion` : hides the package versions
* `--showSystem` : shows the `System.*` packages
* `--onlyTopLevel` : lists only the packages at the top level of the tree (i.e. those that are
not depended upon by any other package)
* `--flat` : lists the dependencies without the hierarchy
* `--why Newtonsoft.Json` : shows only dependency trees that reference the given package (Newtonsoft.Json in this case)## License
MIT