Skip to content
Zed

pkgdiet for Zed

io.github.om-tajne/pkgdiet

Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size

client:Zed transport:stdio runtime:npm

Install pkgdiet in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "pkgdiet": {
      "command": "npx",
      "args": [
        "-y",
        "pkgdiet"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

pkgdiet in other clients