Crates.io | lockspot |
lib.rs | lockspot |
version | 0.0.5 |
source | src |
created_at | 2019-06-13 22:27:51.196863 |
updated_at | 2019-08-19 09:00:30.288956 |
description | let's ask package-lock some questions |
homepage | https://git.snoot.club/chee/lockspot.rs |
repository | https://git.snoot.club/chee/lockspot.rs |
max_upload_size | |
id | 140975 |
size | 27,322 |
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