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

check-pkg-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-pkg-cli

a command whick to show some innfomation in package.json

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

check-pkg-cli

NPM Version NPM Downloads

Features

  • use command to check package.json object key.

Installation

$ npm install -g check-pkg-cli

or

$ yarn global add check-pkg-cli

with 1 commands

  • check-pck

Quick Start

The quickest way to get started with chceck-pkg is to utilize the executable check-pck to check some key for package.json, as shown below:

Default

$ check-pkg

will return:

scripts:
start:npm publish .

Check Other key in package.jsonn

$ check-pck -K dependencies

or

$ check-pck --key dependencies

If you want to check more, you should do like this:

$ check-pck -K dependencies,name,bugs,scripts

or

check-pck -key dependencies,name,bugs,scripts

Check other directory package.json:

$ check-pck -T ../tmp

or

$ check-pck -target ../tmp

Command Line Options

Usage: check-pkg [options] [dir]

Options:
  -V, --version        output the version number
  -K --key <items>     the key which you want to check in package.json
  -T --target [value]  the target package.json
  -h, --help           output usage information

License

MIT

Keywords

check package.json

FAQs

Package last updated on 10 Dec 2018

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