calc-image-stats
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -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; | ||
} |
{ | ||
"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 |
12026
80
Updatedxdim@^1.6.0