pkg-cli

Comman line script for easy package.json access

Usage no npm install needed!

<script type="module">
  import pkgCli from 'https://cdn.skypack.dev/pkg-cli';
</script>

README

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 command line arguments and prints the matching field from the package.json found in working directory.

Example

hub create -d $(pkg description)