and did you know there's only one company in the world that produces wooden barrels?
some statistics about your package-lock.json
$ npm install -g lockspot
the package-lock.json to operate on.
it tries to do the right thing if you leave this blank:
• if you're piping something in on STDIN
, it'll use that
• if there's a package-lock in the dir, it'll use that
• fall back to STDIN
you can use -
to force consuming STDIN
count the number of different versions of each dependency in the tree
$ <package-lock.json lockspot depcount
only print dependencies that have more than this number of versions in the tree
only count production (non-dev) dependencies
only count dependencies whose names match this pattern
how to sort the dependencies. dont
is the default.
exit with a failure if the tree is not flat
$ <package-lock.json lockspot flat
only count production (non-dev) dependencies
only count dependencies whose names match this pattern