Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "ba64", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "A small npm module for saving base 64 encoded images to your file system.", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"author": "Harry Stevens <harryjosephstevens@gmail.com> (http://harryjstevens.com/)", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -23,0 +23,0 @@ "url": "https://github.com/HarryStevens/ba64/issues" |
@@ -20,3 +20,3 @@ # ba64 | ||
var ba64 = require("ba64"), | ||
data_url = "data:image/jpeg;base64,[Base64 encoded image goes here]"; | ||
data_url = "data:image/jpeg;base64,[Base64 encoded image goes here]"; | ||
@@ -28,7 +28,7 @@ // Save the image synchronously. | ||
ba64.writeImage("myimage", data_url, function(err){ | ||
if (err) throw err; | ||
if (err) throw err; | ||
console.log("Image saved successfully"); | ||
console.log("Image saved successfully"); | ||
// do stuff | ||
// do stuff | ||
}); | ||
@@ -35,0 +35,0 @@ ``` |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
5298
0