Open jdalton opened 10 years ago
It's easy to show this when running through node (e.g. require('child_process').exec('gzip -c ... > ...')
) but what about on a client side? Are there any good JS gzip libs that work in a browser?
/cc @XhmikosR @mathiasbynens
@XhmikosR https://github.com/sindresorhus/gzip-size doesn’t run client-side either. https://github.com/nodeca/pako claims to, though.
Either way, I'm just throwing out ideas.
/cc @sindresorhus
Yeah, gzip-size is just for node. Just use pako. It's what gzip-size uses for the sync method.
jscritic should display the gzipped minified size too.