

end() on any used instance of ExifTool for node Resource hygieneĮxifTool child processes consume system resources, and prevents node from If you run this in a docker image based on Alpine or Debian Slim, this won't work properly unless you install the procps package. The default BatchClusterOptions.cleanupChildProcs value of true means that BatchCluster, which is used to manage child exiftool processes, will try to use ps to ensure Node's view of process state are correct, and that errant log ( `We're running ExifTool v $ This package requires procps. exiftool // And to verify everything is working: exiftool. We're using the singleton here for convenience: const exiftool = require ( "exiftool-vendored" ). Note that if you don't use the default singleton, you don't need to. Those defaults have been used to create the There are many configuration options to ExifTool, but all values have (more or Validating your own systems, but don't be surprised when everything still works. When you upgrade to a new major version, please take a bit more care in I think it's better to be pessimistic in codeĬhange impact analysis: "over-promise and under-deliver" your breaking-code I've been bit too many times by my code breaking when I pull in minor or patch I bump the major version if there's a chance existing code might be

Upgradingįor breaking changes since you last updated. If you're installing on a minimal Linux distribution, likeĪlpine, you may need to install perl (à la " apk add perl"). You shouldn't include either the exiftool-vendored.exe orĮ as direct dependencies to your project.

Note that exiftool-vendored provides an installation of ExifTool relevant Or npm install - save exiftool - vendored Installation yarn add exiftool - vendored Robust test coverage, performed with on macOS, Linux, and Robust type definitions of the top 99.5% tags used by over 6,000ĭifferent camera makes and models (see an example)Īutomated updates to ExifTool ( as new versions come out extracting embedded binaries, like thumbnail and preview images.

