Tags and parsers for IPTC meta-data.
Install
$ npm install --save @exifer/iptc
This module exposes three module definitions:
-
ES Module:
dist/exifer-iptc.mjs
-
UMD:
dist/exifer-iptc.umd.js
-
CommonJS:
dist/exifer-iptc.js
The script can also be directly included from unpkg.com:
<script src="https://unpkg.com/@exifer/iptc"></script>
Usage
import exifer from 'exifer';
import iptc from '@exifer/iptc';
// Pass tag/parser map to Exifer
const metadata = await exifer(img, {
tags: { iptc }
});
License
MIT © Terkel Gjervig