1.0.2 • Published 8 years ago

curl-size v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

curl-size NPM version NPM downloads Build Status

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.dmg
26 MB

# No Content-Length header
$ curl-size https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.34/browser.min.js
Be patient, downloading the file...
875 KB

License

MIT © EGOIST