npm will pull directly from github if you want

npm i expressjs/express

see only top level packages with

npm ls -g --depth-level=0

get more info about top level with `ll` instead

npm ll -g --depth-level=0


get package info about top level with `--json`

npm ls -g --depth-level=0 --json

see outdated packages

npm outdated

# npm config

config npm with:  npm config list -l

set configs with: npm config set init-author-name "my name"

delete configs with: npm config delete init-author-name "my name"

search npm with: npm search [name]
best to grep that.

# cool tricks

open package homepage;

npm home lodash

open package repo:

npm repo lodash