antonmedv / jsize

Find out minified and gzipped npm package size
MIT License
178 stars 12 forks source link

Add + plus operator #17

Closed antonmedv closed 7 years ago

antonmedv commented 7 years ago

For calc sums

jsize react + react-dom + redux
DylanPiercey commented 7 years ago

This is a great idea.

DylanPiercey commented 7 years ago

@antonmedv do you think react+react-dom (no spaces) is acceptable? This way it is easier to parse with commander and we can more easily do stuff like react+react-dom jquery.

Also as far as output goes I'm thinking this:

$ jsize react+react-dom jquery
✔ react + react-dom        51.12 kB (gzip)
✔ jquery                    30.6 kB (gzip)
antonmedv commented 7 years ago

Will be cool to support jsize react + react-dom with spaces. Users can do strange stuff.