$ npm install exiftool.exe
A distribution of exiftool.exe. Current version is 10.53.
You might also be interested in dist-exiftool which will install an appropriate version of exiftool depending on the platform, and exiftool.pl for non-Windows platforms.
The module exports a path to the exiftool Windows executable.
const exec = require('child_process').execFile;
const exiftool = require('exiftool.exe');
execFile(exiftool, ['-j', 'image.jpg'], (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
console.log(`stderr: ${stderr}`);
});
Artistic License 2.0
© 2010 - cnpmjs.org x YWFE | Home | YWFE