Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 750 Bytes

readme.md

File metadata and controls

38 lines (25 loc) · 750 Bytes

@exifer/iptc npm

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