Parse IPTC directory from buffer (similar to devongovett/exif-reader)
$ npm install --save iptc-reader
var iptc = require('iptc-reader');
// decode raw iptc data from a buffer
var metadata = iptc(buf);
Output:
{ keywords: [ 'some', 'useful', 'tags' ],
dateCreated: '20170101',
byline: 'Author Name',
copyright: 'Copyright © Copyright',
caption: 'I\'ve taken this image during our short stop in wonderland' }
caption, credit, keywords, dateCreated, byline, bylineTitle, captionWriter, headline, copyright, category
MIT © Oleh Aleinyk