formkit / tempo

📆 Parse, format, manipulate, and internationalize dates and times in JavaScript and TypeScript.
https://tempo.formkit.com
MIT License
2.34k stars 30 forks source link

Generate exports size table for docs #32

Closed justin-schroeder closed 6 months ago

justin-schroeder commented 6 months ago

@aleksandrjet’s work on #28 made me think it would be great to have an export size table on the docs, and perhaps the README.md that gets generated automatically on releases (could be generated on this github action).

justin-schroeder commented 6 months ago

@aleksandrjet — ok...actually — what if we just put a little badge on each function in the docs with the byte size of that fn instead of a whole table?

justin-schroeder commented 6 months ago

Something like this perhaps:

image