New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

png-to-matrix

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

png-to-matrix - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

index.js

@@ -10,2 +10,3 @@ const getPixels = require("get-pixels")

var currentObj = {}
Object.keys(pixels.data).forEach((k, i) => {

@@ -12,0 +13,0 @@ if (i > pixels.shape[0] * 4 * (count + 1)) count++

2

package.json
{
"name": "png-to-matrix",
"version": "1.0.0",
"version": "1.0.1",
"description": "An image to 2D RGBA matrix conversion module",

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

@@ -13,3 +13,3 @@ # PNG To Matrix

** Returns:
** { 'N Dimensions of X as a numerical key': [ N Dimensions of Y as an array - Each array value has a "r,g,b,a" value. ] }
** [ 'N Dimensions of X as a numerical key': [ N Dimensions of Y as an array - Each array value has a "r,g,b,a" value. ] ] }
*/

@@ -16,0 +16,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