New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

curl-size

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curl-size

Use curl to get remote file size.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

curl

FAQs

Package last updated on 09 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts