js_sizers

Crates.iojs_sizers
lib.rsjs_sizers
version0.2.0
sourcesrc
created_at2021-11-28 00:04:37.812068
updated_at2022-12-08 21:41:16.409947
descriptionget your javascript file size after minification and gzip
homepage
repositoryhttps://github.com/huozhi/sizers
max_upload_size
id488593
size68,634
Jiachi Liu (huozhi)

documentation

README

js_sizers

Show your javascript file size after minification and gzip

Install

cargo install js_sizers

Usage

js_sizers ./test.js
# Output
Reading file: ./test.js...

origin   >> 20.38 kB (20384 bytes)
minified >> 3.73 kB (3733 bytes)
gzipped  >> 1.89 kB (1894 bytes)

Development

cargo build

touch test.js # create a test file as input and edit
cargo run ./test.js

License

MIT License

Commit count: 16

cargo fmt