Skip to content

Instantly share code, notes, and snippets.

View tetkuz's full-sized avatar

Shota TAMURA tetkuz

  • Arent Inc.
  • Chiba, Japan
  • X @tetkuz
View GitHub Profile
@tetkuz
tetkuz / package2csv.sh
Last active July 30, 2024 00:43
one liner for package.json to csv
find | grep package.json | xargs -I{} sh -c 'jq -r ".dependencies | to_entries | map(\"\(.key),\(.value)\") | .[]" {} > ~/$(dirname {} | xargs basename)-package.csv'