phylum parse

Parse a lockfile and output the packages as JSON

phylum parse [OPTIONS] <LOCKFILE>

Options

-t, --lockfile-type
The type of the lockfile (default: auto): yarn, npm, gem, pip, pipenv, poetry, mvn, gradle, nuget, auto

Examples

# Parse a lockfile
$ phylum parse -t npm package-lock.json

Did this page help you?