shaggy

0.4.1 • Public • Published

Shaggy

Compress all your config files in one shaggy file.

Install

  • To use from script:

    npm i shaggy

  • CLI usage:

    npm i -g shaggy

Usage

  • From script

    const shaggy = require('shaggy')

    To pack configs (create in current directory config.yml with configs data)

    shaggy.pack(['jsdoc.config.json', 
                 'postcss.config.js'])

    To unpack configs (create in current directory config files with data from shaggy)

    shaggy.unpack('config.yml')
  • CLI

    • See help

      shaggy help

    • To pack configs (create in current directory config.yml with configs data)

      shaggy pack jsdoc.config.json postcss.config.js

      you can use p alias:

      shaggy p jsdoc.config.json postcss.config.js

    • To unpack configs (create in current directory config files with data from shaggy)

      shaggy unpack config.yml

      you can use u alias:

      shaggy u config.yml

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.1
    0
  • 0.4.0
    0
  • 0.3.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i shaggy

Weekly Downloads

0

Version

0.4.1

License

MIT

Unpacked Size

4.8 kB

Total Files

9

Last publish

Collaborators

  • ceigh