stixx/npm-diff
Generate a formatted diff of npm package-lock.json changes for pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-ref | Base branch reference for comparison (e.g., main, develop) | no | main |
| path | Path to package-lock.json file | no | package-lock.json |
| include-transitive | Include transitive dependencies in the diff | no | false |
Outputs
| name | description |
|---|---|
| has_changes | Whether package-lock.json has changes (true/false) |
| diff | The formatted diff output as Markdown table |
| added_count | Number of packages added |
| removed_count | Number of packages removed |
| updated_count | Number of packages updated |