Browse Source

npmsearch: remove clutter from preview

pull/7/head
DanielFGray 2 years ago
parent
commit
28b091c83a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      npmsearch

+ 1
- 1
npmsearch View File

@@ -54,7 +54,7 @@ printf "formatting...\r"
search=$(jq -r '.[] | "\(.name)|\(.version)|\(.description)"' <<< "$search" | column -t -s'|')

if has jq; then
preview='npm view --json {1} | jq -C "."'
preview='npm view --json {1} | jq -C "del(.users, .time, .versions)"'
else
preview='npm view {1}'
fi

Loading…
Cancel
Save