1. Display Installed Packages
- display all installed npm packages with version number in current working directory
npm list --depth=0
ornpm ls --depth=0
- display all globally installed npm packages with version number
npm list -g --depth=0
ornpm ls -g --depth=0
2. Display Particular Package
- display installed package version in current working directory