Consumer Setup

Verify your npm dependencies in 2 minutes.

Quick start

npx @ajna-inc/supplychain install-hook

This adds a preinstall hook to your package.json and writes a default ajna-policy.json. Every subsequent npm install runs verification automatically.

What gets checked

Default behavior

Out of the box, enforcement is warn— nothing is blocked. You see a report on every install. When you're comfortable, flip to block:

// ajna-policy.json
{
  "enforcement": "block"
}

Verify manually

npx @ajna-inc/supplychain verify
npx @ajna-inc/supplychain verify --json          # machine-readable
npx @ajna-inc/supplychain verify --report out.json  # save report

Skip verification temporarily

AJNA_SC_SKIP=1 npm install