Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bigdownloader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigdownloader - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "bigdownloader",
"version": "1.0.1",
"version": "1.0.2",
"description": "Download big files without worries. Included auto-resume",

@@ -5,0 +5,0 @@ "main": "index.js",

# node-bigdownloader
Download big files, with auto resume. This module assumes you know the hash and size beforehand.
Download big files, with auto resume. This module assumes you know the hash

@@ -15,3 +15,3 @@ Example:

hash : 'be8544f91c22e859e6b330e6875b5f87ae41b33c',
size : 144858835,
size : 144858835, // if not given, extract size from headers
debug : true

@@ -24,5 +24,10 @@ })

})
.on('error', function(){
console.log('onError');
.on('error', function(err){
console.log('onError', err);
})
.on('progress', function(progress){
console.log(progress.total);
console.log(progress.done);
console.log(progress.percent);
})
.on('finish', function(){

@@ -29,0 +34,0 @@ console.log('onFinish');

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc