GithubHelp home page GithubHelp logo

tomgao365 / fast-delete Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 63 KB

Quickly delete and delete node_modules files in windows, which is many times faster than the ones that are included.

License: MIT License

JavaScript 99.47% Batchfile 0.53%
delete fast nodejs node windows fs fs-extra rm rimraf

fast-delete's Introduction

fast-delete

利用 rimraf 模块,实现快速删除 node_modules、Android 项目等一些目录结构比较深或小文件比较多的文件夹,比Windows自带删除快多倍。

使用环境

使用说明

  • 未安装 pnpm 需要先执行 npm install -g pnpm
  • 首次使用,在项目根目录执行 pnpm install 命令或直接运行 install.bat ,会在根目录生成 build 注册表文件
-build
  -install.reg 添加注册表
  -install-close.reg 添加注册表(删除后关闭cmd窗口)
  -uninstall.reg 删除注册表
  • 运行 install.reg 将会添加删除程序到右键菜单,鼠标右键选择要删除的目录就可以在看到"快速删除"功能了; 运行 uninstall.reg 删除相应的功能
  • 在项目根目录打开cmd,执行 npm run reg 命令生成新的注册表文件
  • 无聊的话也可以通过 node . 路径1 路径2 ... 删除文件
  • 喜欢别的名字的,自行修改build_reg.js文件

demo

感谢

😂 参考了 itvincent-git/fast-delete 同学的实现

fast-delete's People

Contributors

tomgao365 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hanqingice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.