Socket
Socket
Sign inDemoInstall

@luxcium/pkg-cli

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @luxcium/pkg-cli

Command line script for easy package.json access


Version published
Weekly downloads
2
Maintainers
1
Install size
4.83 kB
Created
Weekly downloads
 

Readme

Source

pkg-cli

Command line script for easy access to a Node module's package.json data.

Install

npm install -g pkg-cli

Usage

Basically it takes the first command line argument and prints the matching field from the package.json found in the current working directory.

Examples

  • Create a new github repository with hub
hub create -d "$(pkg description)"
  • After bumping the version in package.json, you could commit it simply by
git commit -am v$(pkg version)

Based on the work of Elias G. Schneevoigt (c) 2014

Keywords

FAQs

Last updated on 29 Jul 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc