npm cache

操作包缓存

概要

npm cache add <tarball file>...
npm cache add <folder>...
npm cache add <tarball url>...
npm cache add <name>@<version>...

npm cache clean
aliases: npm cache clear, npm cache rm

npm cache verify

注意:此命令对工作区无感知。

描述

用于添加、列出或清理 npm 缓存文件夹。

  • add: 将指定的包添加到本地缓存。此命令主要供 npm 内部使用,但它可以提供一种将数据显式添加到本地安装缓存的方法。

  • eFFEXf/MkUFT3suZhTBsi7XYZEv3pMIlNqrXeo4TEzpMvz7BEAHeA2L7mJ9DJfYVcj5Oy8JJUI9flbTOPAItHwg2ZyBIHvE18qxtUokMc8TsN697Sq9Pt2TP+H96XIqwlyAkgfFC5eHRC9tNXVJls0td/v98va+P428KcYB5gT+8g0jnmJdpCj8D5x+AT2lQZygFwKH+nN4s1FbJnBrl30ycpB05nqXshp7qKHIqyk0=

  • cCfietYXUARHFdjh/9bGlKB4Zbw/TY5Ejp+VJuopxKYzSMcGScDb/j/JQfZuqwDsWrw2gvUembpMIeFBtmeTnoBpYJWxIvy0nPc6FKA0dqAq0IFa9RbrvbTw1Fgc5cMcW3C4/Lr19S4/nwStnv3poC4fwdFd3jl+naoqmbU/ZpjZTaAKyI2t9LeZvP7teLaW

详情

8LpqxyN4j42zu68XRlGyrSZVcsKUW/Tut3Cuzw9MxZF4SKW+bdp0P5AVKcivEyF+44D5GLTMntmtWjI3KC3UdMAgq2HRkvSw4T/TlMzRMYvDUBYhb41tfWGL8F0JsQhJq1uOvSF5tp8xxMj2hNg55p6cAKoqWYRrQFAJRzr86J3jXQqD9a4GMlfTG98XmWg97dzc92JptWWxYWrXoRRmUmsCTea1BBb3EQQ7cQC+uSCFF55OzeGZ/C6Inz2UgHgwZVj1L8FIBtFVQ0eneSkv6Tg/XzPS48koDE433/FYhnLuTgfYxf3oNEEkM8dWSDHjvAv0HYl9TvG+NFwjyUBDx7XQ8dPHjhV9BMMbE6QF842j9eDGFZ+co7ojMYUyzZEpPtHZEFYx5bgvY/P88wW+BTqaQQVGUrF2+BQfUry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