exiftool-vendored
Version:
Efficient, cross-platform access to ExifTool
11 lines • 433 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.SidecarExts = void 0;
exports.isSidecarExt = isSidecarExt;
const node_path_1 = require("node:path");
exports.SidecarExts = [".exif", ".exv", ".mie", ".xmp"];
function isSidecarExt(filename) {
const p = (0, node_path_1.parse)(filename);
return exports.SidecarExts.includes(String(p.ext).toLowerCase());
}
//# sourceMappingURL=Sidecars.js.map
;