# node-iptc

> A node.js library to extract IPTC data from image headers

Latest version **1.0.5** (published 2017-11-15) · 0 weekly downloads

## Install

```sh
npm install node-iptc
pnpm add node-iptc
yarn add node-iptc
bun add node-iptc
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2017-11-15 |
| First published | 2016-02-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Derek Baron |
| Maintainers | derekbaron |

## Links

- npm: https://www.npmjs.com/package/node-iptc
- Repository: https://github.com/derekbaron/node-iptc
- Homepage: https://github.com/derekbaron/node-iptc#readme
- Issues: https://github.com/derekbaron/node-iptc/issues
- npm.io page: https://npm.io/package/node-iptc

## Recent versions

- 1.0.5 (latest) — 2017-11-15
- 1.0.4 — 2016-02-19
- 1.0.3 — 2016-02-19
- 1.0.2 — 2016-02-17
- 1.0.1 — 2016-02-17
- 1.0.0 — 2016-02-17

## README

# node-iptc

This module extracts IPTC information from JPEG files. 
IPTC is (mostly non-technical) structured metadata about the image with fields like creator/artist, copyright, keywords, category, etc.  
For more information, see: http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_38034

## Installation

Installing using npm:

    npm install node-iptc
    
## Example

```javascript
  var iptc = require('node-iptc')
  
  fs.readFile("myImage.jpeg", function(err, data) {
      if (err) { throw err }
      var iptc_data = iptc(data);
    });
```

Sample output
```
{
   "by_line": [
     "Ralf Roletschek"
   ],
   "date_created": "20111119",
   "time_created": "195544+0000",
   "copyright_notice": "(C) Ralf Roletschek",
   "date_time": "2011-12-19T19:55:44.000Z"
 }
```

---
_Source: https://npm.io/package/node-iptc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
