@luxcium/pkg-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

/@luxcium/pkg-cli/

    Package Sidebar

    Install

    npm i @luxcium/pkg-cli

    Weekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.92 kB

    Total Files

    7

    Last publish

    Collaborators

    • neb_401