@sitemark/exifr
Version:
📑 The fastest and most versatile JavaScript EXIF reading library.
22 lines (17 loc) • 718 B
JavaScript
import { DOMParser as DOMParser$2 } from '@xmldom/xmldom';
/* Based on https://github.com/mattiasw/ExifReader/blob/master/src/xmp-tags.js
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
var DOMParser$1 = {
get
};
function get() {
if (typeof DOMParser !== 'undefined') {
return DOMParser;
}
// If your code uses web workers, workerpool or runs in node, then it will need to use xmldom
// If the dependency @xmldom/xmldom does not exist then this will return undefined
return DOMParser$2;
}
export { DOMParser$1 as default };