Created
April 3, 2016 13:04
-
-
Save timdp/5d5b73b9739978d3d32aa09d8d5f7023 to your computer and use it in GitHub Desktop.
List npm dependents for all your packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: | |
# - curl | |
# - pup (https://github.com/ericchiang/pup) | |
# - npm-dependents (https://www.npmjs.com/package/npm-dependents) | |
curl -s 'https://www.npmjs.com/~timdp' | \ | |
pup '.collaborated-packages a text{}' | \ | |
xargs -n1 -I % sh -c 'echo -n %:\ ; npm-dependents % --list' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment