Dependency Analyser
September 2, 2022 ยท View on GitHub
Draw a graphic network of a given Github or Gitlab organization. This project has been primaly designed for SlimIO but work with any kind of organisation who want to achieve a similar result.
Requirements
- Node.js v16 or higher
Getting Started
$ git clone https://github.com/NodeSecure/Dependency-Analyser.git
$ cd Dependency-Analyser
$ npm ci
$ npm start
๐ use
npm startfor a complete run.. or just run the http server withnpm run skip(complete run must be executed at least one time).
Environment Variables
To configure the project you have to set environment variables. These variables can be set in a .env file.
GIT_TOKEN=
NPM_TOKEN=
HTTP_PORT=1337
ORG_NAME=SlimIO
NPM_NAME=@slimio
FILTER_ORG=ok
EXCEPT_PKG=eslint-config,is
To known how to get your GIT_TOKEN and NPM_TOKEN follow the Governance Guide.
Known issues
- If repository name doesn't match the package name it produce Orphan.
License
MIT