t32k / stylestats

StyleStats is a library to collect CSS statistics.
MIT License
1.83k stars 70 forks source link

Prettify data #106

Closed jmblog closed 7 years ago

jmblog commented 9 years ago

Are there any reason that you prettify data in only some format? I'm happy if I can get prettified data in Markdown.

t32k commented 9 years ago

StyleStats v4.3 supports markdown output. https://github.com/t32k/stylestats/releases/tag/v4.3.0

However, it might be different what you want, and someone wanted another markdown format like table style, not list style.

We can't support formats everyone wants, so we adopted your template feature to solve the problem at v5.0.0. The feature enables them to get formats they want.

jmblog commented 9 years ago

@t32k I mean the prettified data by prettify.js. For example, not ratioOfDataUriSize but Ratio of Data URI Size is good for me. As you mentioned, nicer markdown style will be gotten at v5.0.0. It' really helpful for me!

What do you think of such as a --prettify option or a --raw option for raw data? Is this a little bit complex?

t32k commented 9 years ago

I misunderstood. Actually, it sounds good. I'll think about it.:)

jmblog commented 9 years ago

:bow: