
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
A node module to remove the node_module directory and bower_components directory if necessary
rm-npm?rm-npm is the node module that can help you to rm the node_modules directory if you have a package.son file at the root path of your project. It also remove bower_components directory when you have a bower.son file in your project directory.
Run $ npm install rm-npm -g to install rm-npm in global environment, or you can run $ npm install --save-dev rm-npm locally in your project node_modules directory.
CLI
If you install rm-npm globally , and you want to rm all the node_modules bower_components directory in your project, just run the follow command.
$ rm-npm
In Your Project
const rmNpm = require('rm-npm')
// just run like this
rmNpm(__dirname)
FAQs
A node module to remove the node_module directory and bower_components directory if necessary
We found that rm-npm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.