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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.12
    3
    • latest

Version History

Package Sidebar

Install

npm i sizof

Weekly Downloads

3

Version

1.0.12

License

MIT

Unpacked Size

4.78 kB

Total Files

4

Last publish

Collaborators

  • ganobrega
  • raniellyf