UNPKG

@sitemark/exifr

Version:

📑 The fastest and most versatile JavaScript EXIF reading library.

24 lines (18 loc) • 714 B
'use strict'; var xmldom = require('@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 xmldom.DOMParser; } module.exports = DOMParser$1;