macOS:
brew install jq
Ubuntu/Debian:
sudo apt-get install jq curl unzip
git clone https://github.com/virtualian/npm-scanner.git
cd npm-scanner
./npm-scanner.sh init
Scan global packages:
./npm-scanner.sh scan --global
Scan a project:
./npm-scanner.sh scan --project ~/code/my-project
Validate a package:
./npm-scanner.sh validate package-name
./npm-scanner.sh refresh
Run monthly to keep detection data current.