const {ExifTool} = require('exiftool-vendored'); const exiftool = new ExifTool(); /** * Get the EXIF data from the specified image path * * @param {string} imgPath * @return {Promise} */ function getExifTags (imgPath) { return exiftool.read(imgPath); } module.exports = { getExifTags, };