CLI tool to validate TCF vendor consent collection by CMPs across list of websites.
npm installRequires Node.js >= 18.
npm run validate 30 # headless mode, vendor ID 30
npm run validate --headfull 30 # visible browser mode
# direct invocation
node run.js 30
node run.js --headfull 30 sitelist.txt<vendorId>(required) - TCF vendor ID (integer > 0). Falls back toconfig.yml.[siteListPath](optional) - Path to a newline-separated site list. If only a filename is given, the file is looked up in the project'ssitelists/directory. Defaults tositelists/sitelist.txtfromconfig.yml.
--headfull- Launch browser in visible mode (default: headless).--siteList=<path>- Alternative syntax for site list path.
Results: results/validation-<vendorId>-<timestamp>.csv
config.yml sets defaults for vendorId and siteList.
- Exit codes: 0 (success), non-zero (error).
- Install globally:
npm link(enablestcfvvcommand).
MIT