Last active
August 29, 2015 14:04
-
-
Save sramam/0c1c272a3ac43b2e7e5e to your computer and use it in GitHub Desktop.
npmls to determine package dependencies for a nodenev
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
| # inspired by https://gist.github.com/nicholascloud/5372443 | |
| function npmls() { | |
| npm ls --depth=0 | grep -v "^\/.*" | sed "s/└── //g" | sed "s/├── //g" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment