npm cache

Manage the npm package cache. More information: https://docs.npmjs.com/cli/commands/npm-cache.

npm cache add {{package_name}}

npm cache remove {{package_name}}

npm cache clean {{key}}

npm cache clean --force

npm cache ls

npm cache verify

npm cache dir

npm config set cache {{path/to/directory}}