Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

download-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

download-cli

Download and extract files

Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
3.3K
5.42%
Maintainers
1
Weekly downloads
 
Created
Source

download-cli Build Status

Download and extract files

See download for the programmatic API and issue tracker.

Install

$ npm install --global download-cli

Usage

$ download --help

  Usage
    $ download <url>
    $ download <url> > <file>
    $ download --out <directory> <url>

  Example
    $ download http://foo.com/file.zip
    $ download http://foo.com/cat.png > dog.png
    $ download --extract --strip 1 --out dest http://foo.com/file.zip

  Options
    -e, --extract         Try decompressing the file
    -o, --out             Where to place the downloaded files
    -s, --strip <number>  Strip leading paths from file names on extraction
    --filename <string>   Name of the saved file
    --proxy <string>      Proxy endpoint

License

MIT © Kevin Mårtensson

Keywords

cli

FAQs

Package last updated on 03 Jul 2017

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