Skip to content

Instantly share code, notes, and snippets.

@chen7897499
Forked from yyx990803/nl.sh
Created July 19, 2016 07:08
Show Gist options
  • Save chen7897499/3dac3bb0075dfd941d0ed99e71457ad6 to your computer and use it in GitHub Desktop.
Save chen7897499/3dac3bb0075dfd941d0ed99e71457ad6 to your computer and use it in GitHub Desktop.
npm list only top level modules.
alias ng="npm list -g --depth=0 2>/dev/null"
alias nl="npm list --depth=0 2>/dev/null"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment