latest is a small bash script that fetches the latest version of a JavaScript library from the net and stores it in a local file.
Copy latest
to a directory in your path, e.g. /usr/local/bin
or ~/bin
.
latest LIBRARY [DESTINATION]
e.g. latest jquery jquery.js
Fork this Gist and add more libraries or features.