Self star all your npm modules
If you are a narcissist like me, you like to both star your Github projects, and also star your NPM modules.
Well, starring your own NPM modules has never been easier, with this shell 1 liner:
npm star $(npm search $(npm whoami) | awk '!/NAME/ {print $1}')
If you want to star another users' modules just replace the $(npm whoami)
to <username>
, for example: pgilad
Written by Gilad Peleg
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#