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

Dependents (0)

Package Sidebar

Install

npm i shaggy

Weekly Downloads

1

Version

0.4.1

License

MIT

Unpacked Size

4.8 kB

Total Files

9

Last publish

Collaborators

  • ceigh