curl-size
Use curl to get remote file size.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install curl-size 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

3 Versions

  • 1.0.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |