shark-cleaner
v1.1.5
Published
A cleaning tool to help you quickly clear cache garbage.
Downloads
3
Readme
shark-cleaner
A cleaning tool to help you quickly clear cache garbage.
Origin
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
Usage
Node >= 10.10.0
npm install -g shark-cleaner
shark
Effect Demo
video demo: https://s3.qiufengh.com/shark-cleaner/shark-cleaner.mp4
Features
- Support cleaning node_modules, nvm, npm cache
- Support i18n
TODO
- ~~Support yarn cache cleanup~~
- electron client development
- More other language cache cleaning (such as go cache, pip cache)
- Unit test
Cache List
| 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 | |
Need help
Hope to provide the path of the mainstream language cache package (such as go, python, etc.)
Thanks
Animation Support(https://codepen.io/kevin_David_k/pen/eYNeQVY)
Contribution
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/
License
Copyright (c) 2020 蓝色的秋风 (hua1995116) Licensed under the MIT license.