A cleaning tool to help you quickly clear cache garbage.
The origin of this project is because my computer has insufficient disks. I used some cleaning tools, but still couldn't clean up a lot of space for me. I'm a front-end development engineer, so I thought of a lot of node_modules
in my working directory. Therefore, I developed a visual tool for cleaning node_modules
. Of course, it will not only clean up node_modules
. Its positioning is to clear all project caches. Currently it only supports cleaning node_modules
, but it has saved me 20GB of space
Node >= 10.10.0
npm install -g shark-cleaner
shark
video demo: https://s3.qiufengh.com/shark-cleaner/shark-cleaner.mp4
- Support cleaning node_modules, nvm, npm cache
- Support i18n
Support yarn cache cleanup- electron client development
- More other language cache cleaning (such as go cache, pip cache)
- Unit test
Language | cache list | Mac directory | Windows directory | related |
---|---|---|---|---|
Node | npm | ~/.npm | $HOME/AppData/Roaming/npm-cache | https://github.com/shinnn/npm-cache-path |
node_modules | $peoject/node_modules | $peoject/node_modules | ||
nvm | ~/.nvm/versions/node | $HOME/AppData/Roaming/nvm | ||
yarn | ~/Library/Caches/Yarn | $HOME/AppData/Local/Yarn/Cache |
Hope to provide the path of the mainstream language cache package (such as go, python, etc.)
Animation Support(https://codepen.io/kevin_David_k/pen/eYNeQVY)
git clone https://github.com/hua1995116/shark-cleaner.git
npm install
node cli/index.js
another bash
cd client
npm install
npm run dev
Open: http://localhost:1234/
Copyright (c) 2020 蓝色的秋风 (hua1995116) Licensed under the MIT license.