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

exifjs

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

exifjs

javascript wrapper for exiftool

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

exifjs

javascript wrapper for exiftool.

Installation

Simplest way to install exifjs is to use npm, just npm install exifjs which will download exifjs and all dependencies.

Filename can be string or array of strings

exif.get(filename, callback);

Usage with Callback

var exifjs = require('exifjs');

var params = { exiftool : 'Path/to/exiftool/'}; // default is path

params.epoch = 's'; // default is ms (milliseconds)

var exif = exifjs(params);


var file = ["path/to/first/image","path/to/second/image"];

/*Using Callback*/
exif.get(file, function (err, json){
	console.log(json);
});

Usage with promises

/*Using Promise*/
var exifdata = exif.get('/path/to/image');

exifdata.done(function (err, resp){
	console.log(err, response);
});

Exiftool

http://www.sno.phy.queensu.ca/~phil/exiftool/

LICENSE

GPL-V2

FAQs

Package last updated on 05 Apr 2016

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