node-base64-image
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -41,2 +41,5 @@ 'use strict'; | ||
return encoder(body, options); | ||
} else { | ||
if (!body) { return callback('Image loading error - empty body'); } | ||
else { return callback('Image loading error - ' + res.statusCode); } | ||
} | ||
@@ -62,2 +65,2 @@ }); | ||
base64decoder: base64decoder | ||
}; | ||
}; |
{ | ||
"name": "node-base64-image", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Download images from remote URLs and encode/decode them to base64", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
504685
1244