Skip to content
Tidy up your project!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
.gitignore
LICENSE
README.md
package-lock.json
package.json

README.md

Marie-Kondo

Tidy up your project KonMari style!
marie-kondo will recursively delete random files from a directory. Consider this to be a minification tool.

Why?

I cloned a repo that had hundreds of files in its root directory, none of which sparked joy. I then realized what the developer world needs is our very own Marie Kondo.

Usage

npm install -g marie-kondo

To do a dry run:

marie-kondo c:\path\to\some\project\

To get to work, cleaning up 5% of the total number of files:

marie-kondo --fix c:\path\to\some\project\

To get to work, cleaning up 35% of the total number of files:

marie-kondo --fix --probability 0.35 c:\path\to\some\project\

Disclaimer

This project is going to screw up your project horrifically!

Before running this program, back up your project, check in your code to the remote, whatever you need to do. I make no guarantees regarding the behavior of this code. If run on the wrong directory, you could potentially destroy your OS. Please use with caution (or don't use at all)!

License?

MIT

You can’t perform that action at this time.