8000 GitHub - egoist/curl-size: Use curl to get remote file size.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

egoist/curl-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use curl to get remote file size.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published
0