Pkg-Uninstaller is a lightweight and efficient VS Code extension that allows you to easily uninstall packages directly from your package.json
file using the context menu. Simply select the package you want to remove, and uninstall it with a single click. Perfect for developers who want to quickly manage their dependencies without leaving the editor.
- Uninstall Multiple Packages: Select and uninstall multiple packages at once from your
package.json
. - Quick and Easy: No need to run terminal commands. Just right-click on the package name in your
package.json
and uninstall it directly. - Support for Multiple Package Managers: Currently supports npm, yarn, and pnpm, making it versatile for any project setup.
- Context Menu Integration: Seamlessly integrates into the editor's context menu for easy access while working in your
package.json
.
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X
). - Search for
Pkg-Uninstaller
and click Install.
Alternatively, you can install it via the Marketplace by searching for Pkg-Uninstaller
.
- Open your
package.json
file in VS Code. - Right-click on the package name (or dependencies) you want to uninstall in the editor.
- Select Uninstall Packages from the context menu.
- If multiple packages are selected, they will all be uninstalled at once.
- npm
- yarn
- pnpm
The extension automatically detects which package manager you're using based on your project's package.json
.
- Uninstall Packages: Right-click any installed package in the
package.json
and choose this option to uninstall it.
To contribute to Pkg-Uninstaller, clone this repository and follow these steps:
-
Clone the repo:
git clone https://github.com/your-username/pkg-uninstaller.git
-
Install dependencies:
npm install
-
Compile the TypeScript code:
npm run compile
-
Test your changes:
npm test
This extension is licensed under the MIT License. See the LICENSE file for more details.