是否存在任何可以在安装前/安装后确定npm模块大小的方式。例如npm请求--size
我必须找到请求vs节点的https模块的大小。
任何帮助将不胜感激。
谢谢。
答案 0 :(得分:1)
(aTags[index].textContent)
这将为您提供诸如"Checkpoints - a format dependent on the code that created the model"
"SavedModel - a format independent of the code that created the model"
和npm view <pkg_name>
之类的信息。 Refer documentation
要仅查看fileCount
,可以使用
unpackedSize
这里的大小以字节为单位。
答案 1 :(得分:0)
您可以使用howfat来显示软件包的大小以及子依赖项。
$ npx howfat --no-human-readable request
Dependencies: 17
Size: 3821422
Files: 678