sizof

1.0.12 • Public • Published

Sizof

Check the size of files and folders from the CLI

Accepts paths and glob patterns.

sizof animation

Install

$ npm install --dev sizof

or

$ npm install --global sizof

Usage

$ sizof --help

  Usage
    $ sizof <path|glob> [...]

  Examples
    $ sizof bundler.js
    $ sizof '*.js' '!*.min.js'

  Options
    --json -j     Output the result as JSON

Tip

Add script in your package.json to check size of build folder.

"scripts": {
  "size": "sizof dist/*.min.*"
}

License

MIT © Gabriel Nobrega

/sizof/

    Package Sidebar

    Install

    npm i sizof

    Weekly Downloads

    9

    Version

    1.0.12

    License

    MIT

    Unpacked Size

    4.78 kB

    Total Files

    4

    Last publish

    Collaborators

    • ganobrega
    • raniellyf