list of npm packages that are available code example Example: npm list all installed packages npm list -g --depth=0