shark-cleaner
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.5 • Public • Published

    shark-cleaner

    A cleaning tool to help you quickly clear cache garbage.

    中文文档

    English

    Origin

    1584517625611.jpg

    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

    1. Support cleaning node_modules, nvm, npm cache
    2. Support i18n

    TODO

    1. Support yarn cache cleanup
    2. electron client development
    3. More other language cache cleaning (such as go cache, pip cache)
    4. 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.

    Wechat Group

    Install

    npm i shark-cleaner

    DownloadsWeekly Downloads

    1

    Version

    1.1.5

    License

    MIT

    Unpacked Size

    2.34 MB

    Total Files

    27

    Last publish

    Collaborators

    • avatar