0.2.0 • Published 2 years ago

lockspot v0.2.0

Weekly downloads
232
License
CC0-1.0
Repository
-
Last release
2 years ago

lockspot

and did you know there's only one company in the world that produces wooden barrels?

whümf

some statistics about your package-lock.json

wetch

$ npm install -g lockspot

universal options

--file=\

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

commands

depcount

count the number of different versions of each dependency in the tree

usage

$ <package-lock.json lockspot depcount 

options

--min=\

only print dependencies that have more than this number of versions in the tree

--prod

only count production (non-dev) dependencies

--pattern=\

only count dependencies whose names match this pattern

--sort=\<dont|count|name>

how to sort the dependencies. dont is the default.

flat

exit with a failure if the tree is not flat

usage

$ <package-lock.json lockspot flat

options

--prod

only count production (non-dev) dependencies

--pattern=\

only count dependencies whose names match this pattern

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.0

5 years ago