New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

lockspot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockspot

let's ask package-lock some questions

latest
npmnpm
Version
0.2.0
Version published
Weekly downloads
25
56.25%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 09 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts