https://github.com/markthree/clean-cache
用 go 写的清理 node 项目缓存工具,速度很快 | Clean up node project cache tool written in go, very fast
https://github.com/markthree/clean-cache
cache-clean go ultrafast
Last synced: about 1 year ago
JSON representation
用 go 写的清理 node 项目缓存工具,速度很快 | Clean up node project cache tool written in go, very fast
- Host: GitHub
- URL: https://github.com/markthree/clean-cache
- Owner: markthree
- License: mit
- Created: 2023-08-18T04:57:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T05:06:01.000Z (over 2 years ago)
- Last Synced: 2025-01-13T05:08:10.421Z (over 1 year ago)
- Topics: cache-clean, go, ultrafast
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clean-cache
用 `go` 写的清理 `node` 项目缓存工具,速度很快
## README 🦉
简体中文 | [English](./README_EN.md)
## 动机
想要快速的清理 `node` 项目缓存
## Usage
### install
```shell
go install github.com/markthree/clean-cache@latest
```
### clean
默认清理当前目录下的
`.nuxt`,`cache`,`.cache`,`@cache`,`temp`,`.temp`,`@temp` 目录
```shell
clean-cache
```
#### 同时移除 dist 和 .output
```shell
clean-cache -d
```
#### 同时移除 node_modules
```shell
clean-cache -n
```
#### 查看帮助
```shell
clean-cache -h
```
#### 清除根目录
```shell
clean-cache -r
```
## License
Made with [markthree](https://github.com/markthee)
Published under [MIT License](./LICENSE).