wtpack
v1.0.4
Published
What the Pack? wtpack is a CLI tool that enhances `npm install` by showing you which packages were installed, updated, or removed. It clearly highlights version changes for each package.
Downloads
20
Maintainers
Readme
📦️ wtpack - What the Pack?
wtpack is a CLI tool that enhances npm install by showing you which packages were installed, updated, or removed. It clearly highlights version changes for each package.
It works by comparing
package-lock.jsonbefore and afternpm installruns. It shows direct dependencies and devDependencies.
Installation
npm install -g wtpackUsage
Use wtpack just like you would use npm install. All arguments are passed on to npm install.
wtpack
wtpack lodash
wtpack install vue
wtpack --save-dev typescript
wtpack hono@latestThese commands are equivalent to:
npm install
npm install lodash
npm install vue
npm install --save-dev typescript
npm install hono@latestAfter running npm install, wtpack displays a summary showing:
- 🟢 Installed - Packages that were installed
- 🟡 Updated - Packages that were updated (with old → new version)
- 🔴 Removed - Packages that were removed
Options
Show packages before/after
Use the --wtpack-show flag to see all packages before and after the install:
wtpack --wtpack-showAuthor
Created by Espen Steen (@ehs5)
License
MIT
