Skip to content

Instantly share code, notes, and snippets.

@earnubs
Created May 15, 2019 08:26
Show Gist options
  • Save earnubs/e59993102aaf52838a1c6347b12aa5cc to your computer and use it in GitHub Desktop.
Save earnubs/e59993102aaf52838a1c6347b12aa5cc to your computer and use it in GitHub Desktop.
Random jq stuff
yarn list --json | jq '.data.trees[] | select(.name | contains("caniuse-lite"))'
cat charts.json | jq -r '.data[].attributes | [.name, .home, .description] | @csv' | sed 's/"//g' | awk -F, '{ printf "\n%s (%s)\n%s\n",$1,$2,$3}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment