@namchee/remov

1.0.3 • Public • Published

Remov

NPM version Vulnerabilities Auto Release

Uninstall Node modules by regex patterns 📦

Installation

You can install remov from your terminal using your favorite package manager. Below is them example of how to install remov with npm

npm install -g @namchee/remov

Usage

You can execute remov from your terminal. Below is the example of using remov to uninstall foo and its related packages.

remov foo

Options

<pattern>

Type: string

Regex patterns for the packages that you want to uninstall. Support is limited to JS support. For example, to uninstall all packages related with rollup, you can execute the following command from your terminal:

remov rollup

--dry, -d

Type: boolean

Executes a dry-run. On dry-run mode, remov won't uninstall any packages and will just report the list of packages that matches the provided criteria.

--global, -g

Type: boolean

Uninstall the package on global scope instead of the current working directory.

FAQ

What package managers are currently supported by remov?

Currently, remov supports npm, yarn, and pnpm

Why are the uninstalled packages still exist on node_modules? I'm using npm by the way.

npm doesn't delete your uninstalled packages, even if the uninstall script completed successfully. You have to manually remove them with npm prune.

yarn and pnpm users won't encounter this issue at all.

License

This project is licensed under the MIT license

Readme

Keywords

none

Package Sidebar

Install

npm i @namchee/remov

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

9.9 kB

Total Files

8

Last publish

Collaborators

  • namcheee