Tools - Fallow

I found an article that liked this program.

Installation:

cd \d\tools
npm install --save-dev fallow

It suggested I do an update

 npm install -g npm@11.18.0

Then I executed a basic command

npx fallow audit --format json

I got the following error: Could not find @fallow-cli/win32-x64-msvc. Run ‘npm install’ to install the platform-specific binary.

Then I executed:

npm install @fallow-cli/win32-x64-msvc@2.103.0

OK, things are starting to work.

Here are some interesting commands

npx fallow dead-code          # Cleanup candidates
npx fallow dupes              # Repeated logic
npx fallow health             # Complexity and refactor targets
npx fallow review             # Advisory review brief over changed files (always exits 0)
-- npx fallow fix --dry-run      # Preview automatic cleanup - No, I want to learn to do this myself.

There are a LOT more commands that are available.

Here’s the website that provides additional information: https://github.com/fallow-rs/fallow
Here’s another website - more information: https://www.fallow.tools/docs/quickstart/

Note: I ran the first 4 interesting commands above.

I found a .fallow folder, as well as changes to package-lock.json, and package.json.