pilfer-package

1.0.0 • Public • Published

pilfer-package

Tiny command line utility for plucking fields from a JSON file

Installation

  1. npm install --save pilfer-package or yarn add pilfer-package
  2. Add to your npm scripts, or use in the CLI directly

Usage

pilfer-package <field1> <field2> ... <fieldN>

e.g. pilfer-package version > version.json will create a file called version.json in the current directory containing:

{
  version: "1.0.0"
}

/pilfer-package/

    Package Sidebar

    Install

    npm i pilfer-package

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.49 kB

    Total Files

    4

    Last publish

    Collaborators

    • mismith