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

calc-image-stats

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calc-image-stats - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

20

calc-image-stats.js

@@ -40,2 +40,20 @@ const calcStats = require("calc-stats");

module.exports = calcImageStats;
if (typeof define === "function" && define.amd) {
define(function () {
return calcImageStats;
});
}
if (typeof module === "object") {
module.exports = calcImageStats;
module.exports.default = calcImageStats;
module.exports.calcImageStats = calcImageStats;
}
if (typeof self === "object") {
self.calcImageStats = calcImageStats;
}
if (typeof window === "window") {
self.calcImageStats = calcImageStats;
}

15

package.json
{
"name": "calc-image-stats",
"version": "0.2.0",
"version": "0.3.0",
"description": "Calculate Band Statistics for an Image",

@@ -12,6 +12,7 @@ "main": "calc-image-stats.js",

"scripts": {
"f": "npm run format",
"format": "npx prettier --arrow-parens=avoid --trailing-comma=none --write *.js *.ts",
"test": "npm run test:calc && npm run test:types",
"test:calc": "node test.js",
"test:types": "npx tsc calc-image-stats.d.ts"
"test": "npm run test:js && npm run test:ts",
"test:js": "node test.js",
"test:ts": "npx ts-node test.ts"
},

@@ -39,9 +40,9 @@ "repository": {

"guess-image-layout": "^0.0.3",
"xdim": "^1.5.1"
"xdim": "^1.6.0"
},
"devDependencies": {
"find-and-read": "^1.1.0",
"flug": "^2.2.0",
"find-and-read": "^1.2.0",
"flug": "^2.3.1",
"readim": "^0.0.2"
}
}
# calc-image-stats
Calculate Band Statistics for an Image
> Calculate Band Statistics for an Image

@@ -4,0 +4,0 @@ # features

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