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 cli
If you have a package.json
but not a package-lock.json
, run:
./cli
If you want to use an already present package-lock.json
, run:
./cli -i ./package-lock.json
- ignore
file:
dependencies