visual-data
Advanced tools
+14
-4
@@ -0,9 +1,19 @@ | ||
| util = require("util"); | ||
| visualData = require("./lib/index.js"); | ||
| function done(result) | ||
| function me(result) | ||
| { | ||
| if (result.length > 0) console.log(result[0].exif.ExposureTime); | ||
| var i; | ||
| console.log("ME " + result.length); | ||
| for (i = 0; i < result.length; i++) { | ||
| console.log( result[i].file); | ||
| }; | ||
| } | ||
| visualData("folder", done); | ||
| util.inspect(console.log(visualData )); | ||
| visualData("images1", me); |
+1
-2
@@ -67,3 +67,2 @@ /*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ /*global define */ | ||
| visualData(data, function done(data){ | ||
| console.log("Anzahl der Images " + data.length); | ||
| sort_images(data); | ||
@@ -86,3 +85,3 @@ | ||
| user_callback = callback; | ||
| getImageData("folder").then(getFileInfo); | ||
| getImageData(path).then(getFileInfo); | ||
| } | ||
@@ -89,0 +88,0 @@ |
+2
-2
| { | ||
| "name": "visual-data", | ||
| "description": "reads images from a given folder (including subfolders) and return an object with timestamp and exif information", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "author": "Phalanstere", | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "https://github.com/Phalanstere/VisualTimebar/issues" | ||
| "url": "https://github.com/Phalanstere/VisualData/issues" | ||
| }, | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
237
2.16%152954
-45.23%