New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rm-npm

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rm-npm

A node module to remove the node_module directory and bower_components directory if necessary

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

rm-npm

What is 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.

How to install?

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.

How to use?

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)

Keywords

remove

FAQs

Package last updated on 14 Jan 2016

Did you know?

Socket

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.

Install

Related posts