Skip to content

Instantly share code, notes, and snippets.

@neyhart
Forked from yyx990803/nl.sh
Created February 8, 2019 17:01
Show Gist options
  • Save neyhart/b310605eaf3d7d4180c46efb72a7aa17 to your computer and use it in GitHub Desktop.
Save neyhart/b310605eaf3d7d4180c46efb72a7aa17 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