我们正在开发自定义程序包,每个程序包都在此范围内。例如:
@nest/common
@nest/core
@nest/microservice
如何获取特定范围内可用的软件包列表?例如,我想查看@nest下的软件包列表。 npm list返回所有包。
@nest
npm list
刚刚发现这是在寻找另一件事。npm对此有要求:
npm ls [[<@scope>/]<pkg> ...]
通过https://docs.npmjs.com/cli/ls