0.1.4 • Published 4 years agoCLI
@t-yng/reverse-dependency
Licence
MIT
Version
0.1.4
Deps
14
Size
2.0 MB
Vulns
15
Weekly
0
reverse-dependency

Installation
$ yarn global add @t-yng/reverse-dependency
or
$ npm install -g @t-yng/reverse-dependency
Usage
$ cd <project to show dependency>
$ reverse-dependency -s ./src
Options
| option | required | default | description |
|---|---|---|---|
| -s,--source | path of root directory to show dependency | ||
| -p,--port | 3000 | server port number | |
| --include-only | included files expression in result | ||
| --exclude | node_modules test spec | excluded files expression from result | |
| --max-depth | 10 | the maximum depth to scan dependency | |
| --ts-config | tsconfig.json | TypeScript configuration file |
Example
$ reverse-dependency -s ./src -p 4000 --exclude node_modules types --max-depth 5