@mcmics/dist-exiftool
v13.36.0
Published
Platform-dependent distribution of exiftool.
Readme
dist-exiftool
Fork of https://github.com/Sobesednik/dist-exiftool
A distribution of exiftool. Depending on the platform, it will install either exiftool.pl or exiftool.exe module. Current version is 13.36.
For Windows executable we use the x64 version.
Usage
The module exports a path to the exiftool executable.
const execFile = require('child_process').execFile;
const exiftool = require('@mcmics/dist-exiftool');
execFile(exiftool, ['-j', 'image.jpg'], (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);
});Links
License
Artistic License 2.0
