remove entries from npm cache
npm install npm-cache-rm
npm-cache-rm [--dry-run]
`
removes any entry that matches .
Example
$3
`
npm-cache-rm --dry-run electron
`
result
`
rm make-fetch-happen:request-cache:https://registry.npmjs.org/electron-publish/-/electron-publish-22.3.2.tgz
rm pacote:tag-manifest:https://registry.npmjs.org/electron/-/electron-10.0.0.tgz:sha512-0XX/LqYAHHCSbfLjUk9VRDPOeYjDPEzA9i7F50AqpEpFIWR2bp++0S0beRANUpPdkvtBDp+0R6vHV3iXPvuKyA==
rm make-fetch-happen:request-cache:https://registry.npmjs.org/electron/-/electron-10.0.0.tgz
rm make-fetch-happen:request-cache:https://registry.npmjs.org/electron-download/-/electron-download-4.1.1.tgz
rm pacote:tag-manifest:https://registry.npmjs.org/electron/-/electron-9.2.0.tgz:sha512-4ecZ3rcGg//Gk4fAK3Jo61T+uh36JhU6HHR/PTujQqQiBw1g4tNPd4R2hGGth2d+7FkRIs5GdRNef7h64fQEMw==
rm make-fetch-happen:request-cache:https://registry.npmjs.org/electron-context-menu/-/electron-context-menu-2.3.0.tgz
`
$3
`
npm-cache-rm "electron.*?10\.0\.\0"
``