Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@luxcium/pkg-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luxcium/pkg-cli

Command line script for easy package.json access

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 29 Jul 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc