1.0.6 • Published 6 years ago

exif-async v1.0.6

Weekly downloads
36
License
MIT
Repository
github
Last release
6 years ago

exif-async

Get EXIF data from JPG files using async/await functions or promises. A node.js wrapper around exif module.

Installation

npm i -D exif-async

Usage

Import (or require) default function

import getExif from 'exif-async';

use async/await

(async () => {
  try {
    const exif = await getExif('./photo_exif.jpg');
    console.log(exif);
  } catch (err) {
    console.log(err);
  }
})();

or promises

getExif('./photo_exif.jpg')
  .then((exif) => { console.log(exif); })
  .catch((err) => { console.log(err); });

License

MIT

1.0.6

6 years ago

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago