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

ba64

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ba64 - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

4

package.json
{
"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 @@ ```

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