
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
decode-deps
Advanced tools
DecodeDeps is a dev-tool that analyzes and visualizes module dependencies in js, jsx, ts, tsx projects. It identifies modules using import
and require
statements and generates a graph to illustrate these relationships. By providing a visualization of module dependencies, it offers insights for building a more structured codebase.
import
and require
statements, providing a graph view.Prepare your project.
Enter the command.
Check the results on port 5001.
npm install decode-deps
or
yarn add decode-deps
Step 1. Install decode-deps
.
Step 2. Run the command, npx decode-deps
with input array. You can put folder names that you want to scan. For example, to analyze files within the ./src
folder, use:
npx decode-deps '["./src"]'
To explore multiple folders, specify them as follows:
npx decode-deps '["./src", "./dist"]'
Step 3. After running the command, you can see the results at localhost:5001
.
If you'd like to contribute, feel free to submit a pull request or open an issue. Feedback to improve the project is always welcome!
Find detailed documentation and updates in the Docs.
This project is licensed under the MIT License.
FAQs
Dependency Graph
The npm package decode-deps receives a total of 42 weekly downloads. As such, decode-deps popularity was classified as not popular.
We found that decode-deps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.