This program ingests a package-lock.json and outputs a payload with the following shape:
{
"analysed": "<package-lock.json content base64 encoded>",
"packages": {
"<package-name>": {
"name": "<package-name>",
"version": "<package-version>",
"shasum": "<package-shasum>"
}
}
}go build -o cliIf you have a package.json but not a package-lock.json, run:
./cliIf you want to use an already present package-lock.json, run:
./cli -i ./package-lock.json- ignore
file:dependencies