New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

visual-data

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visual-data

reads images from a given folder (including subfolders) and return an object with timestamp and exif information

latest
Source
npmnpm
Version
0.0.41
Version published
Weekly downloads
11
450%
Maintainers
1
Weekly downloads
 
Created
Source

VisualData

Features:

You pass a folder name and receive image information of all the visual files that can be found in the folder and its subdirectories. In case you have a list of image files alrady, you may also pass an array.

 	function visualData([folder], [callback])
  • The callback receives a timestamp sorted array of objects with the following structure:

 	    file = file;
        date = the creation time of the image
        time = converted to a timestamp
        this.exif  = exif information

Here is an example



function done(result)
    {
    if (result.length > 0) console.log(result[0].exif.ExposureTime);        
    }


visualData("folder", done);

Keywords

exif

FAQs

Package last updated on 29 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts