diff
Diff npm packages: compare two package versions, or a local package against its published registry version. Specify versions via range or array, or provide local path.
Instructions
Show diff between package versions or between local and registry
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path to local package (compares local vs registry) | |
| specs | No | Two package specs to compare (e.g. ['pkg@1.0.0', 'pkg@2.0.0']) | |
| package | No | Package spec for comparison (e.g. pkg@1.0.0..pkg@2.0.0) | |
| diffNameOnly | No | Only show file names that changed |