Improved version of nicholascloud/top-level-npm-pkgs.md
function npmls() {
npm ls "$@" | grep "^├─┬" | sed 's/├─┬ //g'
}
Gets you:
~|⇒ npmls -g
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]