npm list all installed packages into application code example Example: npm list all installed packages npm list -g --depth=0