Skip to content

Instantly share code, notes, and snippets.

View GoodPie's full-sized avatar
🐝
Focusing

Brandyn Britton GoodPie

🐝
Focusing
View GitHub Profile
@GoodPie
GoodPie / lockfile-diff.sh
Created February 2, 2026 01:57
Output changes to package-lock.json in human readable format
#!/bin/bash
# lockfile-diff.sh — Human-readable package-lock.json diff
#
# Usage:
# ./lockfile-diff.sh # compare HEAD~1 → working tree
# ./lockfile-diff.sh main # compare main → working tree
# ./lockfile-diff.sh main feature-branch # compare two branches
#
# Requires: jq
# Compatible with macOS bash 3.2+