Skip to content

Instantly share code, notes, and snippets.

@wdjunaidi
Created June 22, 2018 02:13
Show Gist options
  • Save wdjunaidi/4b861f71635416b556f578e480cc7548 to your computer and use it in GitHub Desktop.
Save wdjunaidi/4b861f71635416b556f578e480cc7548 to your computer and use it in GitHub Desktop.
Getting count of unique npm dependencies
npm list | awk '{print $NF}' | sort | uniq | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment