npm view installed modules or packages

1. View the dependent modules installed in the current project

npm list --depth 0

2. View the dependent modules installed globally

npm list -g --depth 0

Guess you like

Origin blog.csdn.net/qq_43692768/article/details/110206649