Skip to content

Instantly share code, notes, and snippets.

@lisez
Last active September 9, 2025 06:31
Show Gist options
  • Select an option

  • Save lisez/6c526eb8763a69f672f6fbb2a97d1db1 to your computer and use it in GitHub Desktop.

Select an option

Save lisez/6c526eb8763a69f672f6fbb2a97d1db1 to your computer and use it in GitHub Desktop.
#!/bin/sh
packages=("backslash@0.2.1" "chalk-template@1.1.1" "supports-hyperlinks@4.1.1" "has-ansi@6.0.1" "simple-swizzle@0.2.3" "color-string@2.1.1" "error-ex@1.3.3" "color-name@2.0.1" "is-arrayish@0.3.3" "slice-ansi@7.1.1" "color-convert@3.1.1" "wrap-ansi@9.0.1" "ansi-regex@6.2.1" "supports-color@10.2.1" "strip-ansi@7.1.1" "chalk@5.6.1" "debug@4.4.2" "ansi-styles@6.2.2")
for pkg in "${packages[@]}"; do
if npm why "$pkg" >/dev/null 2>&1; then
echo "$pkg"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment