{"repo":"deinsoftware/swpm","free":true,"listed":false,"github":"https://github.com/deinsoftware/swpm","clone":"git clone https://github.com/deinsoftware/swpm.git","description":"Switch Package Manager - Say goodbye to Package Manager confusion","language":"TypeScript","stars":125,"topics":["npm","package-manager","pnpm","yarn","hacktoberfest","cli","command-line","nodejs","javascript","node"],"license":"MIT","category":"cli-tools","readme_excerpt":"Switch Package Manager --- Menu - Getting Started - Prerequisites - Installing - swpm - Help - Commands - Install - Add - Remove - Update - Upgrade - Interactive - Open - Clean - Status - swpx - Alias - Flags - Default - FAQ - About --- Getting Started When switching between JavaScript projects, it's often easy to forget which package manager should be used. JavaScript package managers aren't quite compatible either and each one resolves dependencies differently, so accidentally installing with npm could cause a yarn (classic or berry), pnpm or bun project to break. swpm is a CLI that intends to solve this problem by unifying the most used commands for the most common Node Package Managers into one. It will recognize the Package Manager used on the project and automatically will translate those commands. This is an example of how #swpm works. The same command, no matter the package manager used on the project. Note : We will start with most used command, then other commands will be added gradually. Track the command progress implementation on CHEATSHEET. Progress: 90% of commands included. Prerequisites What things you need to install? - node.js Installing Install as global with any of this package managers Package Manager Install Command --------------- ------------------------------------ npm npm install swpm --global yarn yarn global add swpm pnpm pnpm install swpm --global bun bun install -g swpm volta volta install swpm ⇧ Back to menu --- swpm The swpm will run the comma","default_branch":null,"files":null,"tree":[],"storefront":"/r/deinsoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/deinsoftware/swpm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}