How to check what packages are installed npm] code example Example: how to view a list of installed npm packages npm list -g