Installation
AntiSlop can be installed globally as a standalone CLI tool. It is distributed via npm.
Prerequisites
Ensure you have Node.js and npm installed. AntiSlop requires Node.js environment to run.
Global Installation
The recommended way to install the AntiSlop CLI is globally. This allows you to run anti-slop in any directory.
bash
npm install -g @anti-slop/npm-packageRunning the CLI
Once installed, you can verify the installation by running the CLI tool:
bash
anti-slop --versionProject-Level Installation
You can also add it as a development dependency if you want to tie it to your project lifecycle (like a Git pre-commit hook).
bash
npm install --save-dev @anti-slop/npm-package