You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
chee rabbits ae26bb78f6
0.1.1
11 months ago
.github try using chee/actions for version setting 3 years ago
commands stop exiting cleanly if there are 256 non-flat deps 2 years ago
functions Add support for lockfileVersion === 2 11 months ago
symbols Add an `@internal` symbol for marking command calls 3 years ago
tests/functions Add support for lockfileVersion === 2 11 months ago
.gitignore Ignore Microsoft's Visual Studio Code's workspace settings folder 3 years ago
changes.md Update changes.md 3 years ago
esmboot.js Initial commit 3 years ago
index.js Add a warning if the user is trying to use lockspot in postinstall 2 years ago
package-lock.json 0.1.1 11 months ago
package.json 0.1.1 11 months ago
readme.md Update readme.md 3 years ago

readme.md

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=<path>

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=<int>

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

--prod

only count production (non-dev) dependencies

--pattern=<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=<pattern>

only count dependencies whose names match this pattern