Socket
Socket
Sign inDemoInstall

download

Package Overview
Dependencies
88
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.16 to 0.1.17

3

cli.js

@@ -85,3 +85,4 @@ #!/usr/bin/env node

.on('close', function () {
console.log('Successfully downloaded ' + src.length + ' files to ' + path.resolve(opts.out));
var m = src.length > 1 ? 'files' : 'file';
console.log('Successfully downloaded ' + src.length, m + ' to ' + path.resolve(opts.out));
});

@@ -88,0 +89,0 @@ }

@@ -33,3 +33,3 @@ 'use strict';

eachAsync(url, function (url, index, done) {
eachAsync(url, function (url, i, done) {
var req;

@@ -39,2 +39,6 @@ var target = path.join(dest, path.basename(url));

opts.url = url;
opts.proxy = process.env.HTTPS_PROXY ||
process.env.https_proxy ||
process.env.HTTP_PROXY ||
process.env.http_proxy;

@@ -41,0 +45,0 @@ if (url.url && url.name) {

{
"name": "download",
"version": "0.1.16",
"version": "0.1.17",
"description": "Download and extract files effortlessly",

@@ -5,0 +5,0 @@ "license": "MIT",

# download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download)
> Download and extract files effortlessly in Node.js.
> Download and extract files effortlessly

@@ -86,4 +86,2 @@ ## Install

You can also use it as a CLI app by installing it globally:
```bash

@@ -93,4 +91,2 @@ $ npm install --global download

### Usage
```bash

@@ -115,2 +111,2 @@ $ download --help

[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Kevin Mårtensson](http://kevinmartensson.com)
MIT © [Kevin Mårtensson](http://kevinmartensson.com)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc