A user-friendly application for JavaScript developers to visualize the dependency tree of NPM packages and NodeJS applications.
Allows to get statistical info about application dependencies tree state. Provides an interface for filtering and viewing information through convenient tables and diagrams.
Visual representation of the entire dependency tree of a project. With ability to look all the paths for a specific package. Dependency tree can be visualized as a tree or directed network chart
Detailed information about each package, including version, description, and related links.
Identify potential issues such as outdated, deprecated or vulnerable packages.
AND MUCH MORE!
- Terminal or command prompt access
- Target application folder should contain node_modules folder with installed dependencies and package.json
- Node.js and NPM installed
python
orpython3
command should be available
path
- a path to project folder with package.json and node_modules inside
port
- available local port to serve the app (default 8080
)
pip install npm-cockpit
npm-cockpit [path] [port]
npm install --global npm-cockpit
npm-cockpit [path] [port]
npx npm-cockpit [path] [port]
npm install npm-cockpit
and add the run script in the package json with proper params
git clone https://github.com/b0000ring/npm-cockpit.git
cd npm-cockpit
node index.js [path] [port]
orpython __main__.py [path] [port]