Installation
Prerequisites
Section titled “Prerequisites”- Node.js 18.0.0 or higher
- npm or npx
Global Installation
Section titled “Global Installation”Install the tool globally to use it anywhere:
npm install -g who-touched-my-packagesAfter installation, you can use the wtmp or who-touched-my-packages command:
wtmp --versionUsing npx (No Installation)
Section titled “Using npx (No Installation)”Run the tool directly without installing:
npx who-touched-my-packagesThis is useful for:
- One-time scans
- CI/CD pipelines
- Testing before installing
Local Installation
Section titled “Local Installation”Install as a dev dependency in your project:
npm install --save-dev who-touched-my-packagesAdd to your package.json scripts:
{ "scripts": { "audit": "wtmp", "audit:ci": "wtmp --json --fail-on HIGH" }}Run with:
npm run auditVerify Installation
Section titled “Verify Installation”Check that the tool is installed correctly:
wtmp --version# Output: 0.1.0
wtmp --help# Shows all available optionsNext Steps
Section titled “Next Steps”- Quick Start Guide - Run your first scan