nodejs-file-downloader
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "nodejs-file-downloader", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A file downloader for NodeJs", | ||
@@ -5,0 +5,0 @@ "main": "Downloader.js", |
@@ -113,3 +113,3 @@ nodejs-file-downloader is a simple utility for downloading files. It hides the complexity of dealing with streams, paths and duplicate file names. | ||
//Now you can do something with the response, like check the headers | ||
if(response.headers['content-length'] > 1000000){ | ||
if(response.headers['content-length'] < 1000000){ | ||
await downloader.save() | ||
@@ -116,0 +116,0 @@ }else{ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package