
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@medanosol/package-usage-check
Advanced tools
A command-line utility that helps you identify and list unused npm packages in your project's source code.
@medanosol/package-usage-check
is a command-line utility that helps you identify and list unused npm packages in your project's source code.
Before using @medanosol/package-usage-check
, you need to install it globally via npm:
npm install -g @medanosol/package-usage-check
or
npx @medanosol/package-usage-check
To check for unused npm packages in your project, follow these steps:
npx @medanosol/package-usage-check
or
npx @medanosol/package-usage-check #(If you haven't installed it globally)
The @medanosol/package-usage-check
utility works by analyzing your project's source code to find
import statements of npm packages in your .js, .ts, .tsx or .jsx files. It checks the
dependencies specified in your project's package.json and identifies which packages are not
used in your codebase.
--include-dev
: Include development dependencies when checking for unused packages. By default, only regular dependencies are considered.Version 0.0.4
FAQs
A command-line utility that helps you identify and list unused npm packages in your project's source code.
We found that @medanosol/package-usage-check demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.