JSPM

dist-exiftool

10.25.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24287
  • Score
    100M100P100Q149496F
  • License Artistic-2.0

Platform-dependent distribution of exiftool.

Package Exports

  • dist-exiftool

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dist-exiftool) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dist-exiftool

A distribution of exiftool. Depending on the platform, it will install either exiftool.pl or exiftool.exe module. Current version is 10.25.

npm version Build Status Build status

Usage

The module exports a path to the exiftool executable.

const exec = require('child_process').execFile;
const exiftool = require('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}`);
});

exiftool

sourceforge

cpan

License

Artistic License 2.0