This package uses the GitHub API to list the jQuery releases, downloads them using the jQuery CDN, and records their sizes into a CSV file.
Disclaimer: it’s not the file size, it’s how you use it. Sure, jQuery has gotten bigger over time, but every new release patches bugs and/or introduces new features. This [project] aims to demonstrate the importance of HTTP compression and minification.
Also note that jQuery 1.8 allows you to create custom builds containing only the modules you need, in case file size is an issue.
jquery-size -csv "jquery-size-data.csv" -html "index.html"
$ jquery-size -h
-csv string
the file into which the size data is written in CSV format (or - for stdout)
-ghtoken string
optional GitHub personal API access token
-h prints this help text
-html string
the file into which the size data is written in HTML format (or - for stdout)