Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Audits and reduces JavaScript dependencies in npm, pnpm, Yarn, and Bun projects by removing unused, duplicate, and trivial packages.
Use this skill ↓64% 77%+14 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
Reduce JavaScript dependency footprint. Preserve the existing package manager, lockfile, workspace layout, and dependency range style unless there is a concrete reason to change them.
Use the repo's existing package manager. Prefer explicit package metadata before lockfiles:
packageManager in the root package.json.devEngines.packageManager.name in the root package.json.When devEngines.packageManager is present, use its name for npm, pnpm, Yarn, or Bun detection. Treat its version and onFail fields as policy signals, not as permission to change package managers.
Infer from lockfiles only when package metadata does not identify the package manager:
| Signal | Package manager |
|---|---|
package-lock.json or npm-shrinkwrap.json | npm |
pnpm-lock.yaml | pnpm |
yarn.lock | Yarn |
bun.lock or bun.lockb | Bun |
Use the matching command family:
| Action | npm | pnpm | Yarn | Bun |
|---|---|---|---|---|
| Install/update lockfile | npm install | pnpm install | yarn install | bun install |
| Remove direct dependency | npm uninstall <pkg> | pnpm remove <pkg> | yarn remove <pkg> | bun remove <pkg> |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.