curl-size
Use curl to get remote file size.
Install
$ npm install -g curl-size
Usage
$ curl-size $URL # Example, reponse with a Content-Length header $ curl-size http://downloadap1.teamviewer.com/download/TeamViewer.dmg26 MB # No Content-Length header $ curl-size https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.jsBe patient, downloading the file...875 KB
License
MIT © EGOIST