Skip to content

wopjs/gzip-size

Folders and files

NameName
Last commit message
Last commit date
Feb 4, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 28, 2025
Jan 20, 2025
Jan 21, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Mar 17, 2025
Mar 17, 2025

Repository files navigation

@wopjs/gzip-size

Build Status npm-version

Print gzip size of a file.

Install

npm add -D @wopjs/gzip-size

Usage

package.json:

{
  "scripts": {
    "gzip-size": "gzip-size dist/index.mjs dist/index.js"
  }
}

Development

Publish New Version

You can use npm version to bump version.

npm version patch

Push the tag to remote and CI will publish the new version to npm.

git push --follow-tags

CI Auto Publish

If you want to publish the package in CI, you need to set the NPM_TOKEN secrets in GitHub repository settings. See how to create a NPM access token.